You've already forked AstralRinth
forked from didirus/AstralRinth
Initial work on payouts (badges, perms, splits) (#440)
* Initial work on payouts (badges, perms, splits) * Fix clippy error, bitflag consistency
This commit is contained in:
7
migrations/20220902025606_initial-payouts.sql
Normal file
7
migrations/20220902025606_initial-payouts.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE team_members ADD COLUMN payouts_split REAL NOT NULL DEFAULT 0;
|
||||
|
||||
UPDATE team_members
|
||||
SET permissions = 1023, payouts_split = 100
|
||||
WHERE role = 'Owner';
|
||||
|
||||
ALTER TABLE users ADD COLUMN badges bigint default 0 NOT NULL;
|
||||
Reference in New Issue
Block a user