Workflow status enum should be converted to int and not string when persisting with EntityFramework (#98)
Update SQL script
This commit is contained in:
parent
43a2ca6ac3
commit
b35e06bf3a
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using Elsa.Models;
|
||||
using Elsa.Persistence.EntityFrameworkCore.Documents;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// <auto-generated />
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Elsa.Persistence.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ CREATE TABLE [WorkflowInstances] (
|
|||
[Id] nvarchar(450) NOT NULL,
|
||||
[DefinitionId] nvarchar(max) NULL,
|
||||
[Version] int NOT NULL,
|
||||
[Status] int NOT NULL,
|
||||
[Status] nvarchar(max) NOT NULL,
|
||||
[CorrelationId] nvarchar(max) NULL,
|
||||
[CreatedAt] datetime2 NOT NULL,
|
||||
[StartedAt] datetime2 NULL,
|
||||
|
|
@ -50,6 +50,6 @@ CREATE TABLE [WorkflowInstances] (
|
|||
GO
|
||||
|
||||
INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
|
||||
VALUES (N'20190915185812_Create', N'2.2.6-servicing-10079');
|
||||
VALUES (N'20190929143746_InitialCreate', N'2.2.6-servicing-10079');
|
||||
|
||||
GO
|
||||
|
|
|
|||
Loading…
Reference in a new issue