mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 15:52:25 -05:00
downgrade SQL connector version, context changes
This commit is contained in:
@ -11,6 +11,10 @@ namespace SharedLibrary.Migrations
|
||||
{
|
||||
AutomaticMigrationsEnabled = true;
|
||||
AutomaticMigrationDataLossAllowed = true;
|
||||
if (Utilities.IsRunningOnMono())
|
||||
{
|
||||
SetSqlGenerator("MySql.Data.MySqlClient", new MySql.Data.Entity.MySqlMigrationSqlGenerator());
|
||||
}
|
||||
}
|
||||
|
||||
protected override void Seed(SharedLibrary.Database.DatabaseContext context)
|
||||
|
Reference in New Issue
Block a user