Fix Upgrade issue with new componentized Database projects

This commit is contained in:
Charles Nurse
2021-05-24 14:46:12 -07:00
parent 4a609b444e
commit 42265cdda4
14 changed files with 131 additions and 157 deletions

View File

@ -18,7 +18,7 @@ namespace Oqtane.Migrations
protected override void Up(MigrationBuilder migrationBuilder)
{
if (ActiveDatabase.Name == "SqlServer" || ActiveDatabase.Name == "LocalDB")
if (ActiveDatabase.Name == "SqlServer")
{
//Alter Column in Setting table for Sql Server
var settingEntityBuilder = new SettingEntityBuilder(migrationBuilder, ActiveDatabase);