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"); } }, );