-- Add social profile fields to users table
ALTER TABLE `users` ADD COLUMN `socialProvider` varchar(32) AFTER `avatarUrl`;
ALTER TABLE `users` ADD COLUMN `socialId` varchar(255) AFTER `socialProvider`;
ALTER TABLE `users` ADD COLUMN `socialProfileData` json AFTER `socialId`;

-- Add indexes for social profile lookups
CREATE INDEX `idx_users_socialProvider` ON `users` (`socialProvider`);
CREATE INDEX `idx_users_socialId` ON `users` (`socialId`);
