Switched local db to postgres