mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 17:57:43 +00:00
Cleaned up ModelBase, enable writing to sqlite
This commit is contained in:
parent
70e6c3081b
commit
aeebae33fd
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ namespace NzbDrone.Core.Datastore
|
||||||
connectionString = GetConnectionString(dbPath);
|
connectionString = GetConnectionString(dbPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OrmLiteConfig.DialectProvider = new SqliteOrmLiteDialectProvider();
|
||||||
var dbFactory = new OrmLiteConnectionFactory(connectionString);
|
var dbFactory = new OrmLiteConnectionFactory(connectionString);
|
||||||
return dbFactory.Open();
|
return dbFactory.Open();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue