Update migrations to be DB independent

The previous syntax was mysql-only