1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00:00

Cleaned up ModelBase, enable writing to sqlite

This commit is contained in:
Mark McDowall 2013-03-23 22:50:51 -07:00 committed by kay.one
parent 70e6c3081b
commit aeebae33fd

View file

@ -28,6 +28,7 @@ namespace NzbDrone.Core.Datastore
connectionString = GetConnectionString(dbPath);
}
OrmLiteConfig.DialectProvider = new SqliteOrmLiteDialectProvider();
var dbFactory = new OrmLiteConnectionFactory(connectionString);
return dbFactory.Open();
}