changing production db to postgres