feat(database): update user table to add referral percentage and only first purchase fields

This commit is contained in:
Chang lue Tsen 2025-09-01 09:40:33 -04:00
parent aea20ffd5e
commit e910d0e345
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
ALTER TABLE `u`
ALTER TABLE `user`
DROP COLUMN `referral_percentage`,
DROP COLUMN `only_first_purchase`;

View File

@ -1,4 +1,4 @@
ALTER TABLE `u`
ALTER TABLE `user`
ADD COLUMN `referral_percentage` TINYINT UNSIGNED NOT NULL DEFAULT 0
COMMENT 'Referral Percentage'
AFTER `commission`,