Make alembic upgrade script compatible with MySQL

According to the alembic documentation "MySQL has special requirements" so be it.