changed local dev database to postgresql