Commit cd4242b1 authored by Francois Mares's avatar Francois Mares
Browse files

Update TABLE.sql (id_trajet SERIAL)

parent 5a0cc0fe
......@@ -105,7 +105,7 @@ CREATE TABLE Billet (
---Trajet (#id_trajet : int, #id_billet=>Billet, numéro_place :integer, durée: heure,
--- horaire_départ=>Horaires, horaire_arrivée=>Horaires);
CREATE TABLE Trajet (
id_trajet INTEGER NOT NULL,
id_trajet SERIAL,
id_billet INTEGER REFERENCES Billet(id_billet) NOT NULL,
numero_place INTEGER NOT NULL,
duree TIME NOT NULL,
......
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