Updated the Installation of Oqtane to use Migrations
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
using Oqtane.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Oqtane.Enums;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface IInstallable
|
||||
{
|
||||
bool Install(Tenant tenant, string version);
|
||||
|
||||
bool Uninstall(Tenant tenant);
|
||||
}
|
||||
}
|
||||
|
10
Oqtane.Server/Infrastructure/Interfaces/IMigratable.cs
Normal file
10
Oqtane.Server/Infrastructure/Interfaces/IMigratable.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using Oqtane.Enums;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public interface IMigratable
|
||||
{
|
||||
bool Migrate(Tenant tenant, MigrationType migrationType);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user