mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Migrations
Still need to remove System.Data.Sqlite, prefer an option in OrmLite to pluralize table names.
This commit is contained in:
parent
b9fac94eca
commit
4bb4faf626
29 changed files with 375 additions and 50 deletions
|
@ -28,6 +28,8 @@ namespace NzbDrone.Core.Datastore
|
|||
connectionString = GetConnectionString(dbPath);
|
||||
}
|
||||
|
||||
MigrationHelper.MigrateToLatest(connectionString, MigrationType.Main);
|
||||
|
||||
OrmLiteConfig.DialectProvider = new SqliteOrmLiteDialectProvider();
|
||||
var dbFactory = new OrmLiteConnectionFactory(connectionString);
|
||||
var connection = dbFactory.Open();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue