1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

made sqlite version explicit in the connection string.

This commit is contained in:
Keivan Beigi 2015-01-20 10:17:10 -08:00
parent 9ceaf2c6a6
commit 3dcfcbb400

View File

@ -31,6 +31,7 @@ private static string GetConnectionString(string dbPath)
connectionBuilder.DateTimeKind = DateTimeKind.Utc;
connectionBuilder.JournalMode = OsInfo.IsOsx ? SQLiteJournalModeEnum.Truncate : SQLiteJournalModeEnum.Wal;
connectionBuilder.Pooling = true;
connectionBuilder.Version = 3;
return connectionBuilder.ConnectionString;
}