database switched to postgres