Files
Modrinth-plus/apps/labrinth/migrations/20250628213541_payout-sources-recording.sql

9 lines
268 B
MySQL
Raw Normal View History

2025-06-29 07:46:54 -07:00
-- Add migration script here
CREATE TABLE payout_sources_balance (
account_type TEXT NOT NULL,
amount numeric(40, 20) NOT NULL,
pending BOOLEAN NOT NULL,
recorded timestamptz NOT NULL DEFAULT now(),
PRIMARY KEY (recorded, account_type, pending)
);