<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Alexander,<br>
    <br>
    Thank you for your reply.  I was hoping to avoid SQL queries, but
    I'll setup a way to handle these cases simply, waiting for the
    migration feature in September.<br>
    <br>
    Thanks again,<br>
    <br>
    Vincent<br>
    <br>
    <div class="moz-cite-prefix">Le 4/17/2015 11:22 PM, Alexander
      Kozlovsky a écrit :<br>
    </div>
    <blockquote
cite="mid:CAGM6z1v4phY6F+O7+ZsHAYHssJnnvYYw7bsrJXLpUPR2XhqCsQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Vincent!<br>
        <br>
        <div>Currently you need to execute ALTER TABLE command manually.
          It is not that hard if the modification is just adding new
          column. We plan to add migration tool in September, this tool
          will be able to do everything automatically.</div>
        <br>
        Here you can see an example how simple migrations can be done
        manually: <a moz-do-not-send="true"
          href="https://github.com/ponyorm/pony/issues/123">https://github.com/ponyorm/pony/issues/123</a><br>
        <br>
        Regards,<br>
        Alexander Kozlovsky<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Apr 18, 2015 at 2:49 AM,
          Vincent LE GOFF <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:vincent.legoff.srs@gmail.com" target="_blank">vincent.legoff.srs@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
            everyone,<br>
            <br>
            I'm eager to begin working with Pony ORM.  That sounds so
            simple compared to other ORMs I've seen.  However, I have a
            concern regarding entity's evolution.<br>
            <br>
            I didn't see an automatic way to handle these type of
            modifications.  For instance, what happens if we work with
            an entity, then decide to add a new field to it?  Or to
            change the type of a given field?  Or to remove one? 
            Performing specific updatess (called migrations in other
            ORMs) can be sometimes useful, too.  For instance, if we
            want to delete two fields but combining their old results in
            a single one.  Is there any way to do that using Pony ORM?<br>
            <br>
            Thank you very much for your answer!<br>
            <br>
            Happy hacking,<br>
            <br>
            Vincent<br>
            _______________________________________________<br>
            ponyorm-list mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:ponyorm-list@ponyorm.org" target="_blank">ponyorm-list@ponyorm.org</a><br>
            <a moz-do-not-send="true"
              href="/ponyorm-list"
              target="_blank">/ponyorm-list</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ponyorm-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ponyorm-list@ponyorm.org">ponyorm-list@ponyorm.org</a>
<a class="moz-txt-link-freetext" href="/ponyorm-list">/ponyorm-list</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>