Commit 8459eff1 authored by Robin Bouvier's avatar Robin Bouvier
Browse files

Update JSON_CREATE.sql

parent 8eae1918
...@@ -6,7 +6,6 @@ CREATE TABLE Animal VALUES ( ...@@ -6,7 +6,6 @@ CREATE TABLE Animal VALUES (
dateNaissance INTEGER NOT NULL, dateNaissance INTEGER NOT NULL,
espece VARCHAR(50) NOT NULL, espece VARCHAR(50) NOT NULL,
traitements JSON, traitements JSON,
PRIMARY KEY (id),
FOREIGN KEY (espece) REFERENCES Especes(nom), FOREIGN KEY (espece) REFERENCES Especes(nom),
CHECK (dernierPoids > 0), CHECK (dernierPoids > 0),
CHECK (derniereTaille > 0) CHECK (derniereTaille > 0)
......
Supports Markdown
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