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:
@ -12,11 +12,10 @@ namespace Oqtane.Server
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var host = BuildWebHost(args);
|
||||
// execute any database migrations for the framework or extensions
|
||||
using (var serviceScope = host.Services.GetRequiredService<IServiceScopeFactory>().CreateScope())
|
||||
{
|
||||
var databaseManager = serviceScope.ServiceProvider.GetService<DatabaseManager>();
|
||||
databaseManager.StartupMigration();
|
||||
var databaseManager = serviceScope.ServiceProvider.GetService<IDatabaseManager>();
|
||||
databaseManager.Install();
|
||||
}
|
||||
host.Run();
|
||||
}
|
||||
|
Reference in New Issue
Block a user