Added MariaDB -> SQLite conversion utility.
This commit is contained in:
parent
c537df792e
commit
eae379e933
6 changed files with 82 additions and 18 deletions
|
@ -10,7 +10,7 @@ public class SQLiteMigrations(ILogger logger, SQLiteConnection conn) {
|
|||
|
||||
async Task doMigration(int expect, Func<Task> action) {
|
||||
if(version < expect) {
|
||||
logger.ZLogInformation($"Upgrading to version {version}...");
|
||||
logger.ZLogInformation($"Upgrading to version {version + 1}...");
|
||||
await action();
|
||||
++version;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue