changed database in production to postgresql