Changeset 09b0e36 in github


Ignore:
Timestamp:
Apr 27, 2011 1:10:07 PM (2 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c08b18c4
Parents:
4ae996c
Message:

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

Location:
SQL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SQL/mysql.initial.sql

    r3a5476d1 r09b0e36  
    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', 
  • SQL/mysql.update.sql

    re6bb836 r09b0e36  
    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.