added the database diagram and added the query to the creation of the database