Setting up the database.
Configure postgres.