wip: payouts runs migration

This commit is contained in:
aecsocket
2026-07-20 12:50:19 +01:00
parent 6319832465
commit 6549d047dc
@@ -0,0 +1,8 @@
CREATE TABLE payouts_runs(
period_start TIMESTAMPTZ PRIMARY KEY,
started_at TIMESTAMPTZ NOT NULL,
started_by BIGINT REFERENCES users(id)
ON DELETE SET NULL,
completed_at TIMESTAMPTZ,
adjustments JSONB NOT NULL
);