13 lines
268 B
MySQL
13 lines
268 B
MySQL
|
CREATE TABLE IF NOT EXISTS programmes (
|
||
|
id TEXT PRIMARY KEY,
|
||
|
titre TEXT
|
||
|
);
|
||
|
|
||
|
CREATE TABLE IF NOT EXISTS membres (
|
||
|
id VARCHAR(7) PRIMARY KEY,
|
||
|
last_name TEXT,
|
||
|
first_name TEXT,
|
||
|
prefered_name TEXT,
|
||
|
programme_id TEXT REFERENCES programmes(id)
|
||
|
);
|