Commit 156ad3a1 authored by Clement Lucas's avatar Clement Lucas
Browse files

Mise à jour des fichiers .sql

parent d4bfa7f1
...@@ -63,7 +63,7 @@ CREATE TABLE Horaires ( ...@@ -63,7 +63,7 @@ CREATE TABLE Horaires (
arret INTEGER NOT NULL REFERENCES Arret(id_arret) NOT NULL, arret INTEGER NOT NULL REFERENCES Arret(id_arret) NOT NULL,
date_horaires DATE NOT NULL, date_horaires DATE NOT NULL,
jour typeJour REFERENCES Calendrier(jour) NOT NULL, jour typeJour REFERENCES Calendrier(jour) NOT NULL,
type_horaire typeHoraire NOT NULL NOT NULL, type_horaire typeHoraire NOT NULL,
type_except typeExcept, type_except typeExcept,
PRIMARY KEY(id_horaires), PRIMARY KEY(id_horaires),
CHECK (NOT(type_horaire = 'régulier') OR type_except = NULL) CHECK (NOT(type_horaire = 'régulier') OR type_except = NULL)
......
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