Fixed migrations for postgres