appointment_system/docker/mysql/init/01-init.sql
2025-12-11 22:50:18 +08:00

10 lines
387 B
SQL

-- 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