From cee3d5f085835b7ae36e3182c165b1b9e0b8cf13 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Mon, 15 Jun 2015 17:32:00 +0200 Subject: [PATCH] Cosmetics --- .../rdbmsStudents2xml_solution/Schema/schema.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Exam/Sda1/RdbmsStudents2xml/rdbmsStudents2xml_solution/Schema/schema.sql b/Exam/Sda1/RdbmsStudents2xml/rdbmsStudents2xml_solution/Schema/schema.sql index 5867d4df1..4110c70bc 100644 --- a/Exam/Sda1/RdbmsStudents2xml/rdbmsStudents2xml_solution/Schema/schema.sql +++ b/Exam/Sda1/RdbmsStudents2xml/rdbmsStudents2xml_solution/Schema/schema.sql @@ -7,7 +7,7 @@ CREATE TABLE StudyCourse ( ,shortName CHAR(3) UNIQUE ,program CHAR(1) /* Bachelor or Master program? */ ,CHECK (program IN ('B', 'M')) /* Mysql does not really honour CHECK constraints, but pretend it does! */ -) ENGINE=InnoDB; +); CREATE TABLE Student ( id INTEGER NOT NULL PRIMARY KEY @@ -15,7 +15,7 @@ CREATE TABLE Student ( ,email VARCHAR(255) NOT NULL UNIQUE ,studyCourse INTEGER ,FOREIGN KEY(studyCourse) REFERENCES StudyCourse(id) -) ENGINE=InnoDB; +); -- example data corresponding to university.xml -- -- GitLab