bottin/sql/schema.sql

12 lines
268 B
SQL

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)
);