Commit f517372f authored by Lingfeng Huang's avatar Lingfeng Huang
Browse files

Update JSON_CREATE.sql

parent 915711d6
CREATE TABLE Animal (
id INTERGER PRIMARY KEY,
id INTEGER PRIMARY KEY,
nom VARCHAR (50) NOT NULL,
dernierPoids INTEGER NOT NULL,
derniereTaille INTEGER NOT NULL,
......@@ -42,6 +42,6 @@ client INTEGER,
animal INTEGER,
PRIMARY KEY (client, animal),
FOREIGN KEY (client) REFERENCES Clients(id),
FOREIGN KEY (animal) REFERENCES Animaux(id)
FOREIGN KEY (animal) REFERENCES Animal(id)
);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment