install/upgrade refactoring to consolidate all use cases and implement IInstallable interface for modules, moved tenant creation to site management UI, fixed z-order issues in Blazor theme, enhanced JS Interop methods to support integrity and crossorigin

This commit is contained in:
Shaun Walker
2020-04-30 13:58:04 -04:00
parent 099fddf2b6
commit 34538dd945
44 changed files with 1051 additions and 912 deletions

View File

@ -18,14 +18,14 @@ namespace Oqtane.Modules.HtmlText.Manager
_sql = sql;
}
public bool Install(string version)
public bool Install(Tenant tenant, string version)
{
return _sql.ExecuteEmbeddedScript(GetType().Assembly, "HtmlText." + version + ".sql");
return _sql.ExecuteScript(tenant, GetType().Assembly, "HtmlText." + version + ".sql");
}
public bool Uninstall()
public bool Uninstall(Tenant tenant)
{
return _sql.ExecuteEmbeddedScript(GetType().Assembly, "HtmlText.Uninstall.sql");
return _sql.ExecuteScript(tenant, GetType().Assembly, "HtmlText.Uninstall.sql");
}
public string ExportModule(Module module)