diff --git a/apps/im_app/lib/data/local/drift/app_database.dart b/apps/im_app/lib/data/local/drift/app_database.dart index f4132de..638e0f7 100644 --- a/apps/im_app/lib/data/local/drift/app_database.dart +++ b/apps/im_app/lib/data/local/drift/app_database.dart @@ -63,19 +63,14 @@ class AppDatabase extends _$AppDatabase { onCreate: (m) async { await m.createAll(); }, - beforeOpen: (details) async { - print("wtf"); - }, onUpgrade: (m, from, to) async { // Create any new tables that don't exist yet - print("upgrading"); for (final table in allTables) { final existingTables = await m.database .customSelect("SELECT name FROM sqlite_master WHERE type='table' AND name='${table.actualTableName}'") .get(); if (existingTables.isEmpty) { - print("creating table"); await m.createTable(table); continue; }