From 6593ec0fc31afaeccd0333acff6c5adc7dd1b72c Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 4 Apr 2024 18:40:16 +0200 Subject: [PATCH] fix table migration --- lib/database.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/database.dart b/lib/database.dart index 12b1296..31471f5 100644 --- a/lib/database.dart +++ b/lib/database.dart @@ -32,7 +32,7 @@ class AppDatabase extends _$AppDatabase { }, onUpgrade: (Migrator m, int from, int to) async { if (from < 2) { - m.renameTable(persistentNote, "persistent_note"); + await m.renameTable(persistentNote, "note_table"); } }, );