Commit 785eab05 authored by Clement Lucas's avatar Clement Lucas
Browse files

Update TABLE.sql

parent a2cf275a
......@@ -59,8 +59,8 @@ CREATE TYPE typeExcept AS ENUM('ajout', 'suppression');
CREATE TABLE Horaires (
id_horaires SERIAL,
id_train INTEGER NOT NULL REFERENCES Train(numero),
depart TIME NOT NULL,
arrivee TIME NOT NULL,
arrivee_gare TIME NOT NULL,
depart_gare TIME NOT NULL,
arret INTEGER NOT NULL REFERENCES Arret(id_arret) NOT NULL,
date_horaires DATE NOT NULL,
jour typeJour REFERENCES Calendrier(jour) 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