made sqlite version explicit in the connection string.

pull/4/head
Keivan Beigi 10 years ago
parent 9ceaf2c6a6
commit 3dcfcbb400

@ -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;
} }

Loading…
Cancel
Save