1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 01:39:54 +08:00

Disable foreign key enforcing at an sqlite level

This commit is contained in:
Dean Herbert
2021-07-05 15:41:48 +09:00
Unverified
parent b7180f16c5
commit 1e4beddd2d
+3
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