set the database in the production mode