Applying additional Migration Scripts
Automated way (just for linux)
In the console, go to the $IDEMPIERE_REPOSITORY folder and execute the following command:
Verify there are no errors, in case of errors you must solve the error and then execute the command again.
NOTE: If you want to review the output of specific migration scripts, the script leaves the output of every script executed in a folder /tmp/SyncDB_out_[##] - where number is a "random" numeric value (process ID of the running script)
First get the list of all the migration scripts from here:
Now get the list of all the migration scripts already applied in the database from psql with this command:
select name from ad_migrationscript order by 1
Compare the list of migration scripts with the contents of your AD_MigrationScript table. Apply all the migration scripts pending to apply, in order of file name.
Please check carefully the output of each migration scripts, if you find errors, try to solve it, or ask for help on the support forums
You must repeat the previous for each unapplied migration scripts, it's recommended also to take note of the last applied for future reference.