mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
auto increment ID.
model tables are automatically created.
This commit is contained in:
@@ -30,7 +30,11 @@ namespace NzbDrone.Core.Datastore
|
||||
|
||||
OrmLiteConfig.DialectProvider = new SqliteOrmLiteDialectProvider();
|
||||
var dbFactory = new OrmLiteConnectionFactory(connectionString);
|
||||
return dbFactory.Open();
|
||||
var connection = dbFactory.Open();
|
||||
|
||||
Migration.CreateTables(connection);
|
||||
|
||||
return connection;
|
||||
}
|
||||
|
||||
private string GetConnectionString(string dbPath)
|
||||
|
Reference in New Issue
Block a user