This sets the "version" field in the "metadata" table to the current database 
version.
Before this was set to 0 and all the upgrades ran when a new database was 
created. But upgrades shouldn't run on new databases as they are already 
created with the most recent schema.

So this patch prevents db upgrades to be executed when a new database is 
created (you can see this in the log).
The upgrades should still run on not up-to-date databases.
-- 
https://code.launchpad.net/~sam92/openlp/db-upgrades/+merge/227259
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to