Missing files from previous commit
This commit is contained in:
parent
42265cdda4
commit
69376c5baf
|
@ -411,7 +411,7 @@ namespace Oqtane.Infrastructure
|
||||||
{
|
{
|
||||||
using (var tenantDbContext = new TenantDBContext(tenantManager, null))
|
using (var tenantDbContext = new TenantDBContext(tenantManager, null))
|
||||||
{
|
{
|
||||||
if (install.DatabaseType == "SqlServer" || install.DatabaseType == "LocalDB")
|
if (install.DatabaseType == "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer")
|
||||||
{
|
{
|
||||||
UpgradeSqlServer(sql, tenant.DBConnectionString, tenant.DBType, false);
|
UpgradeSqlServer(sql, tenant.DBConnectionString, tenant.DBType, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Oqtane.Migrations
|
||||||
//Update new column if SqlServer (Other Databases will not have any records yet)
|
//Update new column if SqlServer (Other Databases will not have any records yet)
|
||||||
if (ActiveDatabase.Name == "SqlServer")
|
if (ActiveDatabase.Name == "SqlServer")
|
||||||
{
|
{
|
||||||
tenantEntityBuilder.UpdateColumn("DBType", ActiveDatabase.TypeName);
|
tenantEntityBuilder.UpdateColumn("DBType", $"'{ActiveDatabase.TypeName}'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user