Change database config to postgresql