P5-3441 add designer automatic payouts

This commit is contained in:
Martin
2019-02-14 11:51:36 +01:00
parent 5dcd31da21
commit 3e8cb025ad
+10
View File
@@ -0,0 +1,10 @@
-- P5-3441 add automatic payouts column to designers
ALTER TABLE designers
ADD COLUMN automatic_payout INTEGER DEFAULT 0;
UPDATE designers SET automatic_payout = 0;
ALTER TABLE designers
ALTER COLUMN automatic_payout SET NOT NULL;