Changed database to postgresql