2024-06-06 01:40:56 -04:00
|
|
|
CREATE TABLE IF NOT EXISTS programmes (
|
|
|
|
id TEXT PRIMARY KEY,
|
2024-06-17 17:25:53 -04:00
|
|
|
name TEXT NOT NULL
|
2024-06-06 01:40:56 -04:00
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS membres (
|
|
|
|
id VARCHAR(7) PRIMARY KEY,
|
2024-06-17 17:25:53 -04:00
|
|
|
last_name TEXT NOT NULL,
|
|
|
|
first_name TEXT NOT NULL,
|
2024-06-06 01:40:56 -04:00
|
|
|
prefered_name TEXT,
|
2024-06-17 17:25:53 -04:00
|
|
|
programme_id TEXT REFERENCES programmes(id) NOT NULL
|
2024-06-06 01:40:56 -04:00
|
|
|
);
|