diff --git a/packages/cli/src/databases/postgresdb/ExecutionEntity.ts b/packages/cli/src/databases/postgresdb/ExecutionEntity.ts index a627841c3b..8a7f691f0f 100644 --- a/packages/cli/src/databases/postgresdb/ExecutionEntity.ts +++ b/packages/cli/src/databases/postgresdb/ExecutionEntity.ts @@ -27,7 +27,7 @@ export class ExecutionEntity implements IExecutionFlattedDb { @Column() finished: boolean; - @Column() + @Column('varchar') mode: WorkflowExecuteMode; @Column({ nullable: true }) diff --git a/packages/cli/src/databases/sqlite/ExecutionEntity.ts b/packages/cli/src/databases/sqlite/ExecutionEntity.ts index e9be7170c5..825fed7fb5 100644 --- a/packages/cli/src/databases/sqlite/ExecutionEntity.ts +++ b/packages/cli/src/databases/sqlite/ExecutionEntity.ts @@ -27,7 +27,7 @@ export class ExecutionEntity implements IExecutionFlattedDb { @Column() finished: boolean; - @Column() + @Column('varchar') mode: WorkflowExecuteMode; @Column({ nullable: true })