Changed local database to postgres