Skip to content

Commit

Permalink
add executed count column
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n committed Nov 26, 2023
1 parent 910139c commit eb6aff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mixer/src/migrate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb6aff8

Please sign in to comment.