-- Initialize database with proper character set
ALTER DATABASE overseas_appointment CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- Grant privileges to application user
GRANT ALL PRIVILEGES ON overseas_appointment.* TO 'app_user'@'%';
FLUSH PRIVILEGES;

-- Create indexes for better performance (if not created by Sequelize)
-- These will be created by the application migrations
