Actualiser creation_tables.txt
This commit is contained in:
parent
5716aea1c3
commit
9caadaaf8b
@ -14,7 +14,14 @@ CREATE TABLE adherent (
|
|||||||
FOREIGN KEY (club) REFERENCES club(nom)
|
FOREIGN KEY (club) REFERENCES club(nom)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE respo (
|
||||||
|
club VARCHAR(100) PRIMARY KEY,
|
||||||
|
president INT,
|
||||||
|
tresorier INT,
|
||||||
|
FOREIGN KEY (club) REFERENCES club(nom),
|
||||||
|
FOREIGN KEY (president) REFERENCES adherent(code),
|
||||||
|
FOREIGN KEY (tresorier) REFERENCES adherent(code)
|
||||||
|
);
|
||||||
|
|
||||||
CREATE TABLE competition (
|
CREATE TABLE competition (
|
||||||
code INT PRIMARY KEY,
|
code INT PRIMARY KEY,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user