Converted db to postgres