cant figure out switch to postgresql