]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adding lastupdate to user email record
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sat, 12 Jul 2025 02:15:32 +0000 (22:15 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Sat, 12 Jul 2025 02:15:32 +0000 (22:15 -0400)
conf/mailleur.conf.dvl
sql/mailleur.sql

index 81240f3dc25530ab1f2f44438c669d9dd600f6d0..43ca12dfdbc7a273d175d6bf1f3c57ab56a34691 100644 (file)
@@ -7,7 +7,7 @@ APPNAME=mailleur
 ROOTBASE="/home/jmp/safe-mailleur/mailleur/test_area/"
 #defining local default domain
 DFLTDOMAIN="example.com"
-#defineing the local REALM
+#defining the local REALM
 #Caution! the realm is hardcoded within data-base
 #and USED too to hash the user passwd
 #Changing this value coule be a trouble make 
index daaacf5e4542a3304d0ec507157d78fa4ec8e907..fb48f6da2c544b9c0347578a9b7513fbed4e3fcb 100644 (file)
 /********************************************************/
 //table to define LOCAL USER
 CREATE TABLE emails    (
+       email           TEXTUNIQUE,     //User email
        creation        DBTIMESTAMP     //record creation
                        DFLT NOW(),
-       email           TEXTUNIQUE,     //User email
+       lastupdate      DBTIMESTAMP     //last record has been update
+                       DFLT NOW(),
        password        TEXT            //user (encrypted) password
                        DFLT '!',
        hash            TEXT,           //'email:realm:password' MD5