Update 03_Sql_html/schema.sql

Removed ENGINE
This commit is contained in:
ahypki 2024-03-14 10:33:33 +01:00
parent 05c6b2f058
commit ccbb10659a

View File

@ -14,7 +14,7 @@ CREATE TABLE Boxes (
Warehouse INTEGER NOT NULL, Warehouse INTEGER NOT NULL,
PRIMARY KEY (Code), PRIMARY KEY (Code),
FOREIGN KEY (Warehouse) REFERENCES Warehouses(Code) FOREIGN KEY (Warehouse) REFERENCES Warehouses(Code)
) ENGINE=INNODB; ) ;
INSERT INTO Warehouses(Code,Location,Capacity) VALUES(1,'Chicago',3); INSERT INTO Warehouses(Code,Location,Capacity) VALUES(1,'Chicago',3);
INSERT INTO Warehouses(Code,Location,Capacity) VALUES(2,'Chicago',4); INSERT INTO Warehouses(Code,Location,Capacity) VALUES(2,'Chicago',4);