Update migrations

This commit is contained in:
Sipke Schoorstra 2021-03-08 15:10:31 +01:00
parent 222d88c275
commit d53aee02be
10 changed files with 6 additions and 28 deletions

View file

@ -25,8 +25,4 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
</Project>

View file

@ -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");

View file

@ -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)

View file

@ -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");

View file

@ -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");

View file

@ -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)

View file

@ -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");

View file

@ -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");

View file

@ -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)

View file

@ -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");