fix South migrations for PostgreSQL

this is necessary in order to run Openhatch on Heroku, at least using their free Postgres database

sorry, i should have made a new branch of these changes rather than submitting a pull request from my master branch.