Commit b6669488 authored by Clement Lucas's avatar Clement Lucas
Browse files

Update TABLE.sql

parent 26c15d24
......@@ -102,7 +102,7 @@ CREATE TABLE Billet (
gare_depart INTEGER REFERENCES Gare(id_gare) NOT NULL,
gare_arrivee INTEGER REFERENCES Gare(id_gare) NOT NULL,
PRIMARY KEY(id_billet),
CHECK gare_depart <> gare_arrivee
CHECK (gare_depart <> gare_arrivee)
);
---Trajet (#id_trajet : int, #id_billet=>Billet, numéro_place :integer, durée: heure,
......
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