Files
ppanel-web/migrations/mysql/02108_user_referral.sql
T
Ember Moth 5de9508963 fix bugs
2026-07-05 22:35:53 +08:00

9 lines
293 B
SQL

ALTER TABLE `user`
ADD COLUMN `referral_percentage` TINYINT UNSIGNED NOT NULL DEFAULT 0
COMMENT 'Referral Percentage'
AFTER `commission`,
ADD COLUMN `only_first_purchase` TINYINT(1) NOT NULL DEFAULT 1
COMMENT 'Only First Purchase'
AFTER `referral_percentage`;