feat(database): update user table to add referral percentage and only first purchase fields
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
ALTER TABLE `u`
|
ALTER TABLE `user`
|
||||||
DROP COLUMN `referral_percentage`,
|
DROP COLUMN `referral_percentage`,
|
||||||
DROP COLUMN `only_first_purchase`;
|
DROP COLUMN `only_first_purchase`;
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
ALTER TABLE `u`
|
ALTER TABLE `user`
|
||||||
ADD COLUMN `referral_percentage` TINYINT UNSIGNED NOT NULL DEFAULT 0
|
ADD COLUMN `referral_percentage` TINYINT UNSIGNED NOT NULL DEFAULT 0
|
||||||
COMMENT 'Referral Percentage'
|
COMMENT 'Referral Percentage'
|
||||||
AFTER `commission`,
|
AFTER `commission`,
|
||||||
|
|||||||
Reference in New Issue
Block a user