80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
sujet TEXT NOT NULL,
texte TEXT NOT NULL
);
CREATE TABLE rappels_envoyes
-- Enregistrement des rappels envoyés à qui et quand
(
id_membre INTEGER NOT NULL REFERENCES membres (id),
id_cotisation INTEGER NOT NULL REFERENCES cotisations (id),
date TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
media INTEGER NOT NULL, -- Média utilisé pour le rappel : 1 = email, 2 = courrier, 3 = autre
PRIMARY KEY(id_membre, id_cotisation, date)
);
--
-- WIKI
--
CREATE TABLE wiki_pages
|
>
>
|
<
<
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
sujet TEXT NOT NULL,
texte TEXT NOT NULL
);
CREATE TABLE rappels_envoyes
-- Enregistrement des rappels envoyés à qui et quand
(
id INTEGER PRIMARY KEY,
id_membre INTEGER NOT NULL REFERENCES membres (id),
id_cotisation INTEGER NOT NULL REFERENCES cotisations (id),
date TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
media INTEGER NOT NULL -- Média utilisé pour le rappel : 1 = email, 2 = courrier, 3 = autre
);
--
-- WIKI
--
CREATE TABLE wiki_pages
|