From 5ea51b464529432006e991aaf684625fe6bdf5ae Mon Sep 17 00:00:00 2001 From: ycharbi Date: Tue, 22 Jun 2021 21:54:20 +0200 Subject: [PATCH] Correction du nom de la table postfix_alias_virtuels --- outils/données.sql | 6 +++--- outils/postfix.sql | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/outils/données.sql b/outils/données.sql index b0dfd37..67d2b81 100644 --- a/outils/données.sql +++ b/outils/données.sql @@ -4,9 +4,9 @@ INSERT INTO postfix_alias (alias,destination,active) VALUES ("tata","test2",0); INSERT INTO postfix_alias (alias,destination,active) VALUES ("titi","test3",1); -- Alias virtuels -INSERT INTO postfix_alias_vitruels (courriel,destination,active) VALUES ("toto@exemple.fr","test1@exemple.fr",1); -INSERT INTO postfix_alias_vitruels (courriel,destination,active) VALUES ("tata@exemple.fr","test2@exemple.fr",0); -INSERT INTO postfix_alias_vitruels (courriel,destination,active) VALUES ("titi@exemple.fr","test3@exemple.fr",1); +INSERT INTO postfix_alias_virtuels (courriel,destination,active) VALUES ("toto@exemple.fr","test1@exemple.fr",1); +INSERT INTO postfix_alias_virtuels (courriel,destination,active) VALUES ("tata@exemple.fr","test2@exemple.fr",0); +INSERT INTO postfix_alias_virtuels (courriel,destination,active) VALUES ("titi@exemple.fr","test3@exemple.fr",1); -- Domaines secondaires INSERT INTO postfix_domaines (domaine,active) VALUES ("toto.fr",1); diff --git a/outils/postfix.sql b/outils/postfix.sql index c5e317b..fc2d935 100644 --- a/outils/postfix.sql +++ b/outils/postfix.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS postfix_alias ( destination TEXT NOT NULL, active INTEGER ); -CREATE TABLE IF NOT EXISTS postfix_alias_vitruels ( +CREATE TABLE IF NOT EXISTS postfix_alias_virtuels ( id INTEGER PRIMARY KEY AUTOINCREMENT, courriel TEXT NOT NULL UNIQUE, destination TEXT NOT NULL,