projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduces email type alias_aux for emails in auxiliary domains.
[platal.git]
/
upgrade
/
1.1.0
/
01_new_mail_schema.sql
diff --git
a/upgrade/1.1.0/01_new_mail_schema.sql
b/upgrade/1.1.0/01_new_mail_schema.sql
index
caca7d2
..
47bcb54
100644
(file)
--- a/
upgrade/1.1.0/01_new_mail_schema.sql
+++ b/
upgrade/1.1.0/01_new_mail_schema.sql
@@
-19,7
+19,7
@@
CREATE TABLE email_source_account (
email VARCHAR(255) NOT NULL,
domain SMALLINT(3) UNSIGNED NOT NULL DEFAULT 1,
uid INT(11) UNSIGNED NOT NULL,
email VARCHAR(255) NOT NULL,
domain SMALLINT(3) UNSIGNED NOT NULL DEFAULT 1,
uid INT(11) UNSIGNED NOT NULL,
- type ENUM('forlife', 'alias') NOT NULL DEFAULT 'forlife',
+ type ENUM('forlife', 'alias'
, 'alias_aux'
) NOT NULL DEFAULT 'forlife',
flags SET('bestalias', 'usage', 'marital') NOT NULL DEFAULT '',
expire DATE DEFAULT NULL,
PRIMARY KEY (email, domain),
flags SET('bestalias', 'usage', 'marital') NOT NULL DEFAULT '',
expire DATE DEFAULT NULL,
PRIMARY KEY (email, domain),