Configured the database to postgres