mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
refactored Migrations
This commit is contained in:
parent
a6fe8b276b
commit
a1653022ad
4 changed files with 21 additions and 70 deletions
|
@ -26,7 +26,7 @@ namespace NzbDrone.Core.Datastore
|
|||
|
||||
public virtual ITable GetSchemaFromType(Type type)
|
||||
{
|
||||
return type.ToSchemaTable(Connection.MainDataProvider);
|
||||
return type.ToSchemaTable(Connection.GetDataProvider(Connection.MainConnectionString));
|
||||
}
|
||||
|
||||
public virtual Column[] GetColumnsFromDatabase(ITransformationProvider database, string tableName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue