Migration Postgres correction