60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
CREATE UNIQUE INDEX cm_unique ON cotisations_membres (id_membre, id_cotisation, date);
CREATE TABLE membres_operations
-- Liaision des enregistrement des paiements en compta
(
id_membre INTEGER NOT NULL REFERENCES membres (id),
id_operation INTEGER NOT NULL REFERENCES compta_journal (id),
PRIMARY KEY (id_membre, id_operation)
);
CREATE TABLE rappels
-- Rappels de devoir renouveller une cotisation
(
id INTEGER PRIMARY KEY,
|
>
>
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
CREATE UNIQUE INDEX cm_unique ON cotisations_membres (id_membre, id_cotisation, date);
CREATE TABLE membres_operations
-- Liaision des enregistrement des paiements en compta
(
id_membre INTEGER NOT NULL REFERENCES membres (id),
id_operation INTEGER NOT NULL REFERENCES compta_journal (id),
id_cotisation INTEGER NULL REFERENCES cotisations_membres (id),
PRIMARY KEY (id_membre, id_operation)
);
CREATE TABLE rappels
-- Rappels de devoir renouveller une cotisation
(
id INTEGER PRIMARY KEY,
|