Merge branch 'master' into PermissionOptimalization
This commit is contained in:
@ -184,7 +184,7 @@ namespace Oqtane.Infrastructure
|
||||
.SqlDatabase(connectionString)
|
||||
.WithVariable("ConnectionString", connectionString)
|
||||
.WithVariable("Alias", alias)
|
||||
.WithScriptsEmbeddedInAssembly(Assembly.GetExecutingAssembly(), s => master || !s.Contains("Master."));
|
||||
.WithScriptsEmbeddedInAssembly(Assembly.GetExecutingAssembly(), s => s.Contains("Master."));
|
||||
|
||||
var dbUpgrade = dbUpgradeConfig.Build();
|
||||
if (!dbUpgrade.IsUpgradeRequired())
|
||||
|
8
Oqtane.Server/Infrastructure/Interfaces/IInstallable.cs
Normal file
8
Oqtane.Server/Infrastructure/Interfaces/IInstallable.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface IInstallable
|
||||
{
|
||||
bool Install(string version);
|
||||
bool Uninstall();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user