summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/postgres.update.sql
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-02 09:27:03 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-02 09:27:03 +0000
commit847060fb5a85af8581910c694965c136c677a621 (patch)
treea07da67665c26842029e1f9b59b7fbadc963fdf6 /roundcubemail/SQL/postgres.update.sql
parenta9b4a030d159738f59e1d782dbf0d17b1a90115f (diff)
- Support contact's email addresses up to 255 characters long (#1487095)
- Added email format checks when saving contacts data git-svn-id: https://svn.roundcube.net/trunk@4166 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/postgres.update.sql')
-rw-r--r--roundcubemail/SQL/postgres.update.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql
index 99b9c0e29..444caf6f6 100644
--- a/roundcubemail/SQL/postgres.update.sql
+++ b/roundcubemail/SQL/postgres.update.sql
@@ -86,4 +86,5 @@ ALTER TABLE users ALTER last_login SET DEFAULT NULL;
DROP INDEX users_username_id_idx;
ALTER TABLE users ADD UNIQUE (username, mail_host);
+ALTER TABLE contacts ALTER email TYPE varchar(255);