diff --git a/lab-2/music-store-app/sql/schema.sql b/lab-2/music-store-app/sql/schema.sql index 8e1df6cfc50d37c27b438d50379bd5ee083ed2ec..7c6fa10e2814c390caf1b4310e468b810ad0febd 100644 --- a/lab-2/music-store-app/sql/schema.sql +++ b/lab-2/music-store-app/sql/schema.sql @@ -10,8 +10,9 @@ CREATE TABLE Genre ( ); /* Define table for storing act (i.e. a group or solo artist) -ON DELETE CASCADE not needed in this -case as a Band does not HAVE to have an associated genre */ +ON DELETE CASCADE not used in this case as we don't want bands +being deleted if their genre is deleted. We'd rather an error +was raised. */ CREATE TABLE Band ( id INT AUTO_INCREMENT, name VARCHAR(50) NOT NULL,