Fix migration path for PostgreSQL compatbility

While setting up a new installation, a bit absent-minded I just `rake db:migrate`d from scratch instead of loading the schema.
Then it failed with a migration whose syntax wasn't compatible to PostgreSQL so I fixed it.