client: Remove pragma to defer foreign keys

This commit is contained in:
Elias Projahn 2020-07-20 18:39:28 +02:00
parent 330fbb9b4b
commit adeb975890

View file

@ -31,8 +31,7 @@ class MusicusClientDatabase extends _$MusicusClientDatabase {
@override
MigrationStrategy get migration => MigrationStrategy(
beforeOpen: (details) async {
await customStatement(
'PRAGMA foreign_keys = ON; PRAGMA defer_foreign_keys = ON;');
await customStatement('PRAGMA foreign_keys = ON;');
},
);