Fix EF Core persistence provider for workflow definition channel property
This commit is contained in:
parent
afeda9dba0
commit
b0f3d68b35
|
|
@ -13,6 +13,7 @@ namespace Elsa.Persistence.EntityFramework.Core.Configuration
|
|||
builder.Ignore(x => x.Variables);
|
||||
builder.Ignore(x => x.CustomAttributes);
|
||||
builder.Ignore(x => x.ContextOptions);
|
||||
builder.Ignore(x => x.Channel);
|
||||
builder.Property<string>("Data");
|
||||
builder.HasIndex(x => new {x.DefinitionId, x.Version}).HasDatabaseName($"IX_{nameof(WorkflowDefinition)}_{nameof(WorkflowDefinition.DefinitionId)}_{nameof(WorkflowDefinition.VersionId)}").IsUnique();
|
||||
builder.HasIndex(x => x.TenantId).HasDatabaseName($"IX_{nameof(WorkflowDefinition)}_{nameof(WorkflowDefinition.TenantId)}");
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ namespace Elsa.Persistence.EntityFramework.Core.Stores
|
|||
entity.Variables,
|
||||
entity.ContextOptions,
|
||||
entity.CustomAttributes,
|
||||
entity.Tag,
|
||||
entity.Channel
|
||||
};
|
||||
|
||||
|
|
@ -46,7 +45,6 @@ namespace Elsa.Persistence.EntityFramework.Core.Stores
|
|||
entity.Variables,
|
||||
entity.ContextOptions,
|
||||
entity.CustomAttributes,
|
||||
entity.Tag,
|
||||
entity.Channel
|
||||
};
|
||||
|
||||
|
|
@ -58,7 +56,6 @@ namespace Elsa.Persistence.EntityFramework.Core.Stores
|
|||
entity.Variables = data.Variables;
|
||||
entity.ContextOptions = data.ContextOptions;
|
||||
entity.CustomAttributes = data.CustomAttributes;
|
||||
entity.Tag = data.Tag;
|
||||
entity.Channel = data.Channel;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue