mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-25 19:27:24 +02:00
client: Remove pragma to defer foreign keys
This commit is contained in:
parent
330fbb9b4b
commit
adeb975890
1 changed files with 1 additions and 2 deletions
|
|
@ -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;');
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue