Switch DB to postgresql