Added support for MySQL and ProgreSQL and AddSite/Tenant

This commit is contained in:
Charles Nurse
2021-04-02 10:55:00 -07:00
parent 2fb63e8117
commit e6530ee127
57 changed files with 708 additions and 581 deletions

View File

@ -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; }