Add support for Sqlite - Installation path tested but AddSite not supported yet
This commit is contained in:
@ -12,7 +12,7 @@ namespace Oqtane.Migrations
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
//Drop Column from Page table
|
||||
if (migrationBuilder.ActiveProvider != "Microsoft.EntityFrameworkCore.Sqlite")
|
||||
if (migrationBuilder.ActiveProvider == "Microsoft.EntityFrameworkCore.SqlServer")
|
||||
{
|
||||
var pageEntityBuilder = new PageEntityBuilder(migrationBuilder);
|
||||
pageEntityBuilder.DropColumn("EditMode");
|
||||
|
Reference in New Issue
Block a user