Fix pgsql migrator