handle HtmlText module transition from SQL scripts to Migrations in module rather than in core framework

This commit is contained in:
Shaun Walker
2021-05-30 13:16:26 -04:00
parent 967f0fe626
commit afcc5e2170
7 changed files with 28 additions and 23 deletions

View File

@ -25,13 +25,11 @@ namespace [Owner].[Module].Manager
public bool Install(Tenant tenant, string version)
{
_tenantManager.SetTenant(tenant.TenantId);
return Migrate(new [Module]Context(_tenantManager, _accessor), tenant, MigrationType.Up);
}
public bool Uninstall(Tenant tenant)
{
_tenantManager.SetTenant(tenant.TenantId);
return Migrate(new [Module]Context(_tenantManager, _accessor), tenant, MigrationType.Down);
}