You've already forked AstralRinth
forked from didirus/AstralRinth
Add bank balances to DB (#3860)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- 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)
|
||||
);
|
||||
Reference in New Issue
Block a user