Skip to content
Snippets Groups Projects
Commit 2bf6a0d5 authored by DUCRUET THIBAULT p2306959's avatar DUCRUET THIBAULT p2306959
Browse files

Création table filmVue

parent f07409b9
No related branches found
No related tags found
No related merge requests found
...@@ -25,3 +25,15 @@ Create TABLE IF NOT EXISTS Utilisateur ...@@ -25,3 +25,15 @@ Create TABLE IF NOT EXISTS Utilisateur
dateNais date not null default (current_date) dateNais date not null default (current_date)
); );
Create TABLE if not EXISTS FilmVue
(
login varchar(20) not null,
tconst varchar(20) not null,
note int default (3),
FOREIGN KEY (login) REFERENCES Utilisateur(login),
FOREIGN KEY (tconst) REFERENCES film(tconst),
PRIMARY KEY (login,tconst)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment