RAZ-3295: Fix for MySQL create schedules table query
- Fixed query