diff options
author | alecpl <alec@alec.pl> | 2010-11-02 09:27:03 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-11-02 09:27:03 +0000 |
commit | 6f096812c9fd460fddd21ff1cef55542cb79a890 (patch) | |
tree | e69c88fc0b3da2cf8da7e19f3b1e24b230c1d59c /SQL/mysql.update.sql | |
parent | d3664623169c8db7a83b4049e4d3ef7b8714a923 (diff) |
- Support contact's email addresses up to 255 characters long (#1487095)
- Added email format checks when saving contacts data
Diffstat (limited to 'SQL/mysql.update.sql')
-rw-r--r-- | SQL/mysql.update.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index b9ab59ea9..2af0a47e6 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -129,3 +129,5 @@ UPDATE `users` SET `last_login` = NULL WHERE `last_login` = '1000-01-01 00:00:00 ALTER TABLE `users` DROP INDEX `username_index`; ALTER TABLE `users` ADD UNIQUE `username` (`username`, `mail_host`); +ALTER TABLE `contacts` MODIFY `email` varchar(255) NOT NULL; + |