mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Cleaned up ModelBase, enable writing to sqlite
This commit is contained in:
parent
70e6c3081b
commit
aeebae33fd
@ -28,6 +28,7 @@ public IDbConnection Create(string dbPath = null)
|
||||
connectionString = GetConnectionString(dbPath);
|
||||
}
|
||||
|
||||
OrmLiteConfig.DialectProvider = new SqliteOrmLiteDialectProvider();
|
||||
var dbFactory = new OrmLiteConnectionFactory(connectionString);
|
||||
return dbFactory.Open();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user