Added support for MySQL and ProgreSQL and AddSite/Tenant
This commit is contained in:
@ -2,7 +2,6 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Migrations.Operations;
|
||||
using Microsoft.EntityFrameworkCore.Migrations.Operations.Builders;
|
||||
using Oqtane.Interfaces;
|
||||
using Oqtane.Migrations.Extensions;
|
||||
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
@ -17,9 +16,9 @@ namespace Oqtane.Migrations.EntityBuilders
|
||||
|
||||
protected void AddDeletableColumns(ColumnsBuilder table)
|
||||
{
|
||||
DeletedBy = table.AddStringColumn("DeletedBy", 256, true);
|
||||
DeletedOn = table.AddDateTimeColumn("DeletedOn", true);
|
||||
IsDeleted = table.AddBooleanColumn("IsDeleted");
|
||||
DeletedBy = AddStringColumn(table,"DeletedBy", 256, true);
|
||||
DeletedOn = AddDateTimeColumn(table,"DeletedOn", true);
|
||||
IsDeleted = AddBooleanColumn(table,"IsDeleted");
|
||||
}
|
||||
|
||||
public OperationBuilder<AddColumnOperation> DeletedBy { get; private set; }
|
||||
|
Reference in New Issue
Block a user