V3 make workflowdefinition have readonly (#4124)
* fix broken build and add readonly to dapper migration --------- Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
This commit is contained in:
parent
04ba54f3a5
commit
e5a5705888
|
|
@ -44,6 +44,7 @@ export class FlowchartComponent {
|
|||
@Prop() rootActivity: Activity;
|
||||
@Prop() interactiveMode: boolean = true;
|
||||
@Prop() silent: boolean = false;
|
||||
@Prop() isReadonly: boolean;
|
||||
|
||||
@Element() el: HTMLElement;
|
||||
container: HTMLElement;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@ public class Initial : Migration
|
|||
.WithColumn("CreatedAt").AsDateTimeOffset().NotNullable()
|
||||
.WithColumn("Version").AsInt32().NotNullable()
|
||||
.WithColumn("IsLatest").AsBoolean().NotNullable()
|
||||
.WithColumn("IsReadonly").AsBoolean().NotNullable()
|
||||
.WithColumn("IsPublished").AsBoolean().NotNullable();
|
||||
|
||||
|
||||
IfDatabase("Sqlite")
|
||||
.Create
|
||||
|
|
@ -47,6 +49,7 @@ public class Initial : Migration
|
|||
.WithColumn("CreatedAt").AsDateTime2().NotNullable()
|
||||
.WithColumn("Version").AsInt32().NotNullable()
|
||||
.WithColumn("IsLatest").AsBoolean().NotNullable()
|
||||
.WithColumn("IsReadonly").AsBoolean().NotNullable()
|
||||
.WithColumn("IsPublished").AsBoolean().NotNullable();
|
||||
|
||||
IfDatabase("SqlServer", "Oracle", "MySql", "Postgres")
|
||||
|
|
|
|||
Loading…
Reference in a new issue