DROP TABLE IF EXISTS referrals;

DROP TABLE IF EXISTS referral_settings;

DROP TYPE IF EXISTS ReferralStatus;

ALTER TABLE users
DROP COLUMN referral_code;

ALTER TABLE users
DROP COLUMN referred_by;

ALTER TABLE wallet
DROP COLUMN bonus_balance;

ALTER TABLE wallet
DROP COLUMN cash_balance;
