chore: Remove default values from fields of database models

This commit is contained in:
Faruk AYDIN
2022-10-19 19:22:11 +02:00
parent dc0f374110
commit 74aed833bf
5 changed files with 13 additions and 9 deletions

View File

@@ -7,9 +7,9 @@ import Telemetry from '../helpers/telemetry';
class Execution extends Base {
id!: string;
flowId!: string;
testRun = false;
testRun: boolean;
internalId: string;
executionSteps: ExecutionStep[] = [];
executionSteps: ExecutionStep[];
static tableName = 'executions';
@@ -19,7 +19,7 @@ class Execution extends Base {
properties: {
id: { type: 'string', format: 'uuid' },
flowId: { type: 'string', format: 'uuid' },
testRun: { type: 'boolean' },
testRun: { type: 'boolean', default: false },
internalId: { type: 'string' },
},
};