From eb6aff8da3edc8913ed5fcad7e52ad37594f7a27 Mon Sep 17 00:00:00 2001 From: vinh Date: Sat, 25 Nov 2023 23:58:49 -0800 Subject: [PATCH] add executed count column --- mixer/src/migrate/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/mixer/src/migrate/index.ts b/mixer/src/migrate/index.ts index ec2d017..2fcdb1d 100644 --- a/mixer/src/migrate/index.ts +++ b/mixer/src/migrate/index.ts @@ -12,6 +12,7 @@ export const migrate = async () => { client.query('alter table turing.tasks add column if not exists canceled_at timestamp'), client.query('alter table turing.tasks add column if not exists scheduled_start_at timestamp'), client.query('alter table turing.tasks add column if not exists scheduled_end_at timestamp'), + client.query('alter table turing.tasks add column if not exists executed_count integer default(0)'), ]) // column need to be create before commit