Change data migrations to work on Postgres