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:
@ -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)
|
||||
|
Reference in New Issue
Block a user