diff --git a/lib/src/database/database.dart b/lib/src/database/database.dart index 3b148ecd..adb9fc6a 100644 --- a/lib/src/database/database.dart +++ b/lib/src/database/database.dart @@ -22,13 +22,6 @@ class Database extends _$Database { int get maxFileSize => 1 * 1024 * 1024; - // moor transactions are sometimes rather weird and freeze. Until there is a - // proper fix in moor we override that there aren't actually using transactions - @override - Future transaction(Future Function() action) async { - return action(); - } - @override MigrationStrategy get migration => MigrationStrategy( onCreate: (Migrator m) {