diff --git a/lib/utils/famedlysdk_store.dart b/lib/utils/famedlysdk_store.dart index 31ce349..87adbcd 100644 --- a/lib/utils/famedlysdk_store.dart +++ b/lib/utils/famedlysdk_store.dart @@ -31,6 +31,8 @@ Future getDatabase(Client client) async { filename: 'moor.sqlite', password: password, ); + // Check if database is open: + debugPrint((await _db.customSelect('SELECT 1').get()).toString()); if (needMigration) { debugPrint('[Moor] Start migration'); await migrate(client.clientName, _db, store);