Deploy on Azure: Fix migration issue with Microsoft Azure's SQL database

The hard-coded SQL statements are in MySQL's syntax and are incompatible with Microsoft Azure's SQL database.
@singingwolfboy @cpennington Please review.