feat: add index on user.refer_code for faster invite code lookup
- Add idx_refer_code index to improve query performance - Prevents full table scan when validating invite codes during registration
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- Remove index on refer_code column
|
||||
ALTER TABLE `user` DROP INDEX `idx_refer_code`;
|
||||
Reference in New Issue
Block a user