Verify meta Table for upgradeVersion

Match v1.2.0 introduces the upgradeVersion command to manage version migrations. In order for this command to run successfully, ensure the contents of the meta table are correct.

First, determine the current (pre-upgrade) version of the source in use. This value is available in the file $SRC/app/config/VERSION, and should be something like 1.0.0 or 1.1.0.

Next, determine what the database thinks the current version of the source is:

SQL> select upgrade_version from meta where id=1;

The returned value should match the source version determined, above. If not, set it appropriately:

SQL> update meta set upgrade_version='1.1.0' where id=1;


  • No labels