Merge pull request #13780 from peppy/disable-foreign-keys

Disable foreign key enforcing at an sqlite level
This commit is contained in:
Dan Balasescu 2021-07-05 19:08:10 +09:00 committed by GitHub
commit 28faa8c330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,9 @@ namespace osu.Game.Database
{
cmd.CommandText = "PRAGMA journal_mode=WAL;";
cmd.ExecuteNonQuery();
cmd.CommandText = "PRAGMA foreign_keys=OFF;";
cmd.ExecuteNonQuery();
}
}
catch