Creation of the db.