fix: create core schema before making a first select request

Migration uses Finder to get the current table version.
This commit is contained in:
tomasz.sowa committed 2022-04-11 23:11:00 +02:00
1 parent c8edd241d5
commit e182c0a21b
3 files changed
+8 -11

No files matched your search

+2
View File
@@ -287,6 +287,8 @@ bool App::DoDatabaseMigration()
Item item;
Group group;
migration.set_connector(model_connector);
migration.create_winix_schema();
ok = ok && Migration::do_migration(&model_connector, migration);
ok = ok && Migration::do_migration(&model_connector, user);