fix: create core schema before making a first select request

Migration uses Finder to get the current table version.
This commit is contained in:
2022-04-11 23:11:00 +02:00
parent c8edd241d5
commit e182c0a21b
3 changed files with 8 additions and 11 deletions

View File

@@ -78,13 +78,12 @@ public:
static bool do_migration(morm::ModelConnector * model_connector, morm::Model & model);
bool create_winix_schema();
bool do_migration(int & current_table_version);
private:
bool do_migration_to_1();
bool do_migration_to_2();
};