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
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ namespace NzbDrone.Core.Datastore
connectionBuilder.DateTimeKind = DateTimeKind.Utc; connectionBuilder.DateTimeKind = DateTimeKind.Utc;
connectionBuilder.JournalMode = OsInfo.IsOsx ? SQLiteJournalModeEnum.Truncate : SQLiteJournalModeEnum.Wal; connectionBuilder.JournalMode = OsInfo.IsOsx ? SQLiteJournalModeEnum.Truncate : SQLiteJournalModeEnum.Wal;
connectionBuilder.Pooling = true; connectionBuilder.Pooling = true;
connectionBuilder.Version = 3;
return connectionBuilder.ConnectionString; return connectionBuilder.ConnectionString;
} }