-
Hi, it's me again! After converting all my data layer I was trying to test the migration on an existing database. Has someone already tried to migrate from sqflite to sqlite_async (sqlite3)? Thanks! EDIT: sqflite stores database version in PRAGMA user_version |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't know if this method could be modified to check PRAGMA user_version if $migrationTable has not been found...
} |
Beta Was this translation helpful? Give feedback.
The migrations in sqlite_async stores more than just the version number, and
PRAGMA user_version
could have been used for different purposes, so we can't do that check in the core library.However, you can add a check directly to the app's migrations, such as: