- 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

@@ -28,7 +28,7 @@ CREATE TABLE contacts (
changed datetime NOT NULL default '0000-00-00 00:00:00',
del tinyint NOT NULL default '0',
name varchar(128) NOT NULL default '',
email varchar(128) NOT NULL default '',
email varchar(255) NOT NULL default '',
firstname varchar(128) NOT NULL default '',
surname varchar(128) NOT NULL default '',
vcard text NOT NULL default ''