mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 02:24:56 +00:00
wip: payouts runs migration
This commit is contained in:
@@ -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
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user