Postgres support

Had to remove a mysql-dependent piece in db/schema.rb.
It's not the best thing, but since it doesn't show up in migrations I don't really know any other way to fix it.

Thanks for the effort on the gitlab suite.