mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
Cleaned up ModelBase, enable writing to sqlite
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user