Update migrations
This commit is contained in:
parent
222d88c275
commit
d53aee02be
|
|
@ -25,8 +25,4 @@
|
|||
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Migrations\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|||
namespace Elsa.Persistence.EntityFramework.PostgreSql.Migrations
|
||||
{
|
||||
[DbContext(typeof(ElsaContext))]
|
||||
[Migration("20210303231822_Initial")]
|
||||
[Migration("20210308140024_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
|
|
@ -79,9 +79,6 @@ namespace Elsa.Persistence.EntityFramework.PostgreSql.Migrations
|
|||
b.Property<string>("DisplayName")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("IsLatest")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
|
|
@ -39,7 +39,6 @@ namespace Elsa.Persistence.EntityFramework.PostgreSql.Migrations
|
|||
IsSingleton = table.Column<bool>(type: "boolean", nullable: false),
|
||||
PersistenceBehavior = table.Column<int>(type: "integer", nullable: false),
|
||||
DeleteCompletedInstances = table.Column<bool>(type: "boolean", nullable: false),
|
||||
IsEnabled = table.Column<bool>(type: "boolean", nullable: false),
|
||||
IsPublished = table.Column<bool>(type: "boolean", nullable: false),
|
||||
IsLatest = table.Column<bool>(type: "boolean", nullable: false),
|
||||
Data = table.Column<string>(type: "text", nullable: true)
|
||||
|
|
@ -77,9 +77,6 @@ namespace Elsa.Persistence.EntityFramework.PostgreSql.Migrations
|
|||
b.Property<string>("DisplayName")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("IsLatest")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
namespace Elsa.Persistence.EntityFramework.SqlServer.Migrations
|
||||
{
|
||||
[DbContext(typeof(ElsaContext))]
|
||||
[Migration("20210215204551_Initial")]
|
||||
[Migration("20210308135928_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
|
|
@ -79,9 +79,6 @@ namespace Elsa.Persistence.EntityFramework.SqlServer.Migrations
|
|||
b.Property<string>("DisplayName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsLatest")
|
||||
.HasColumnType("bit");
|
||||
|
||||
|
|
@ -39,7 +39,6 @@ namespace Elsa.Persistence.EntityFramework.SqlServer.Migrations
|
|||
IsSingleton = table.Column<bool>(type: "bit", nullable: false),
|
||||
PersistenceBehavior = table.Column<int>(type: "int", nullable: false),
|
||||
DeleteCompletedInstances = table.Column<bool>(type: "bit", nullable: false),
|
||||
IsEnabled = table.Column<bool>(type: "bit", nullable: false),
|
||||
IsPublished = table.Column<bool>(type: "bit", nullable: false),
|
||||
IsLatest = table.Column<bool>(type: "bit", nullable: false),
|
||||
Data = table.Column<string>(type: "nvarchar(max)", nullable: true)
|
||||
|
|
@ -3,6 +3,8 @@ using System;
|
|||
using Elsa.Persistence.EntityFramework.Core;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Elsa.Persistence.EntityFramework.SqlServer.Migrations
|
||||
{
|
||||
|
|
@ -75,9 +77,6 @@ namespace Elsa.Persistence.EntityFramework.SqlServer.Migrations
|
|||
b.Property<string>("DisplayName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("IsLatest")
|
||||
.HasColumnType("bit");
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
|
||||
{
|
||||
[DbContext(typeof(ElsaContext))]
|
||||
[Migration("20210215204504_Initial")]
|
||||
[Migration("20210308135955_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
|
|
@ -76,9 +76,6 @@ namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
|
|||
b.Property<string>("DisplayName")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("IsLatest")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
|
|
@ -39,7 +39,6 @@ namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
|
|||
IsSingleton = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||
PersistenceBehavior = table.Column<int>(type: "INTEGER", nullable: false),
|
||||
DeleteCompletedInstances = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||
IsEnabled = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||
IsPublished = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||
IsLatest = table.Column<bool>(type: "INTEGER", nullable: false),
|
||||
Data = table.Column<string>(type: "TEXT", nullable: true)
|
||||
|
|
@ -3,6 +3,7 @@ using System;
|
|||
using Elsa.Persistence.EntityFramework.Core;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
|
||||
{
|
||||
|
|
@ -73,9 +74,6 @@ namespace Elsa.Persistence.EntityFramework.Sqlite.Migrations
|
|||
b.Property<string>("DisplayName")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("IsLatest")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue