Changeset 4709 in subversion


Ignore:
Timestamp:
Apr 27, 2011 1:10:07 PM (2 years ago)
Author:
thomasb
Message:

Change vcard field to LONGTEXT to completely store vcards with embedded photos

Location:
trunk/roundcubemail/SQL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/SQL/mysql.initial.sql

    r4567 r4709  
    8787 `firstname` varchar(128) NOT NULL DEFAULT '', 
    8888 `surname` varchar(128) NOT NULL DEFAULT '', 
    89  `vcard` text NULL, 
     89 `vcard` longtext NULL, 
    9090 `words` text NULL, 
    9191 `user_id` int(10) UNSIGNED NOT NULL DEFAULT '0', 
  • trunk/roundcubemail/SQL/mysql.update.sql

    r4573 r4709  
    137137 
    138138ALTER TABLE `contacts` ADD `words` TEXT NULL AFTER `vcard`; 
     139ALTER TABLE `contacts` CHANGE `vcard` `vcard` LONGTEXT /*!40101 CHARACTER SET utf8 */ NULL DEFAULT NULL; 
    139140ALTER TABLE `contactgroupmembers` ADD INDEX `contactgroupmembers_contact_index` (`contact_id`); 
    140   
Note: See TracChangeset for help on using the changeset viewer.