- Support contact's email addresses up to 255 characters long (#1487095)

- Added email format checks when saving contacts data
This commit is contained in:
alecpl
2010-11-02 09:27:03 +00:00
parent d366462316
commit 6f096812c9
12 changed files with 74 additions and 20 deletions

View File

@@ -107,7 +107,7 @@ CREATE TABLE contacts (
changed timestamp with time zone DEFAULT now() NOT NULL,
del smallint DEFAULT 0 NOT NULL,
name varchar(128) DEFAULT '' NOT NULL,
email varchar(128) DEFAULT '' NOT NULL,
email varchar(255) DEFAULT '' NOT NULL,
firstname varchar(128) DEFAULT '' NOT NULL,
surname varchar(128) DEFAULT '' NOT NULL,
vcard text