Overview
Comment:Enregistrement du type de rappel effectué
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a0711ba1ef8dad137ffb62d5e98063aca07564c8
User & Date: bohwaz on 2013-04-12 13:57:47
Other Links: manifest | tags
Context
2013-05-15
10:39
  • Possibilité de clôturer l'exercice à une date donnée, même si des opérations existent après cette date
  • Report à nouveau automatique (à terminer)
check-in: 18c69e3051 user: bohwaz tags: trunk
2013-04-12
13:57
Enregistrement du type de rappel effectué check-in: a0711ba1ef user: bohwaz tags: trunk
13:52
Une vérification pour la cohérence des données check-in: 575a6e268b user: bohwaz tags: trunk
Changes

Modified include/data/0.6.0.sql from [238f57543b] to [fee8118654].

31
32
33
34
35
36
37

38
39
40
41
42
43
44

CREATE TABLE rappels_envoyes
-- Enregistrement des rappels envoyés à qui et quand
(
    id_membre INTEGER NOT NULL,
    id_rappel INTEGER NOT NULL,
    date TEXT NOT NULL DEFAUT CURRENT_TIMESTAMP,

    
    FOREIGN KEY (id_membre) REFERENCES membres (id),
    FOREIGN KEY (id_rappel) REFERENCES rappels (id),

    PRIMARY KEY(id_membre, id_rappel, date)
);








>







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

CREATE TABLE rappels_envoyes
-- Enregistrement des rappels envoyés à qui et quand
(
    id_membre INTEGER NOT NULL,
    id_rappel INTEGER NOT NULL,
    date TEXT NOT NULL DEFAUT CURRENT_TIMESTAMP,
    media INTEGER NOT NULL, -- Média utilisé pour le rappel : 1 = email, 2 = courrier, 3 = autre
    
    FOREIGN KEY (id_membre) REFERENCES membres (id),
    FOREIGN KEY (id_rappel) REFERENCES rappels (id),

    PRIMARY KEY(id_membre, id_rappel, date)
);

Modified include/data/schema.sql from [ae76c00106] to [80ed003645].

65
66
67
68
69
70
71

72
73
74
75
76
77
78

CREATE TABLE rappels_envoyes
-- Enregistrement des rappels envoyés à qui et quand
(
    id_membre INTEGER NOT NULL,
    id_rappel INTEGER NOT NULL,
    date TEXT NOT NULL DEFAUT CURRENT_TIMESTAMP,

    
    FOREIGN KEY (id_membre) REFERENCES membres (id),
    FOREIGN KEY (id_rappel) REFERENCES rappels (id),

    PRIMARY KEY(id_membre, id_rappel, date)
);








>







65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

CREATE TABLE rappels_envoyes
-- Enregistrement des rappels envoyés à qui et quand
(
    id_membre INTEGER NOT NULL,
    id_rappel INTEGER NOT NULL,
    date TEXT NOT NULL DEFAUT CURRENT_TIMESTAMP,
    media INTEGER NOT NULL, -- Média utilisé pour le rappel : 1 = email, 2 = courrier, 3 = autre
    
    FOREIGN KEY (id_membre) REFERENCES membres (id),
    FOREIGN KEY (id_rappel) REFERENCES rappels (id),

    PRIMARY KEY(id_membre, id_rappel, date)
);