1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-01 12:34:40 +00: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;
}