<div dir="ltr">Hi Alan,<div><br></div><div>Wish you a Happy New Year :)</div><div><br></div><div>To apply migration changes for all older version, maintaining latest version number for version attribute in migration tag is good.</div><div><br></div><div>For example : We need to apply migration changes of version 1.2 and 1.3 where module is getting updated to 1.4. So maintaining version as 1.4 will apply changes for all version less than 1.4.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 3:30 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@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 all and a Happy New Year.<br>
<br>
I want to update a module in the Marketplace where I need to change the database schema a little.<br>
<br>
In the Manifest there is the possible syntax:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<migrations><br>
  <migration version='1.x'><br>
    <tables><br>
      <table><br>
        <name>table_name</name><br>
          <sql><![CDATA[ALTER TABLE blah blah blah...]]></sql><br>
      </table><br>
    </tables><br>
  </migration><br>
</migrations><br>
</blockquote>
<br>
My question is regarding the version number... If I want to apply this migration to all previous versions of the module do I need to repeat the <migration> block for each version or is there a way to specify a "less than" kind of thing?<br>
<br>
Thanks<br>
<br>
Al<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>