Skip to content

Commit d50d5b2

Browse files
committed
chore: default status_updated_at to now upon task creation
1 parent 639ffef commit d50d5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aggregation_mode/db/migrations/001_init.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ CREATE TABLE tasks (
1010
status task_status DEFAULT 'pending',
1111
nonce BIGINT NOT NULL,
1212
inserted_at TIMESTAMPTZ NOT NULL DEFAULT now(),
13-
status_updated_at TIMESTAMPTZ
13+
status_updated_at TIMESTAMPTZ DEFAULT now()
1414
);
1515

1616
CREATE TABLE payment_events (

0 commit comments

Comments
 (0)