Overview
Comment: | Contrainte de date ici, pas de datetime |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
0a855a0a538b3623ba695a4dd6cf2aca |
User & Date: | bohwaz on 2017-08-03 04:21:41 |
Other Links: | branch diff | manifest | tags |
Context
2017-08-03
| ||
04:32 | Fix: ne pas activer les foreign keys à chaque appel à connect() mais seulement à la connexion check-in: dddd19cda5 user: bohwaz tags: dev | |
04:21 | Contrainte de date ici, pas de datetime check-in: 0a855a0a53 user: bohwaz tags: dev | |
04:21 | Cohérence avec SQLite3 en ligne de commande: utilisation de .load au lieu de .import check-in: 26b4188c11 user: bohwaz tags: dev | |
Changes
Modified src/include/data/schema.sql from [68e5662649] to [70b074d04f].
︙ | ︙ | |||
98 99 100 101 102 103 104 | ( id INTEGER NOT NULL PRIMARY KEY, id_membre INTEGER NOT NULL REFERENCES membres (id), id_cotisation INTEGER NOT NULL REFERENCES cotisations (id), id_rappel INTEGER NULL REFERENCES rappels (id), | | | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | ( id INTEGER NOT NULL PRIMARY KEY, id_membre INTEGER NOT NULL REFERENCES membres (id), id_cotisation INTEGER NOT NULL REFERENCES cotisations (id), id_rappel INTEGER NULL REFERENCES rappels (id), date TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP CHECK (date(date) IS NOT NULL AND date(date) = date), media INTEGER NOT NULL -- Média utilisé pour le rappel : 1 = email, 2 = courrier, 3 = autre ); -- -- WIKI -- |
︙ | ︙ |