Changeset 5755 in subversion


Ignore:
Timestamp:
Jan 12, 2012 2:16:51 AM (16 months ago)
Author:
alec
Message:
  • Fix failure on MySQL database upgrade from 0.7 - text column can't have default value (#1488300)
Location:
trunk/roundcubemail
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r5754 r5755  
    22=========================== 
    33 
     4- Fix failure on MySQL database upgrade from 0.7 - text column can't have default value (#1488300) 
    45- Added address book widget on compose screen 
    56- Use proper timezones from PHP's internal timezonedb (#1485592) 
  • trunk/roundcubemail/SQL/mysql.initial.sql

    r5711 r5755  
    102102 `del` tinyint(1) NOT NULL DEFAULT '0', 
    103103 `name` varchar(128) NOT NULL DEFAULT '', 
    104  `email` text NOT NULL DEFAULT '', 
     104 `email` text NOT NULL, 
    105105 `firstname` varchar(128) NOT NULL DEFAULT '', 
    106106 `surname` varchar(128) NOT NULL DEFAULT '', 
  • trunk/roundcubemail/SQL/mysql.update.sql

    r5753 r5755  
    224224ALTER TABLE `contacts` DROP FOREIGN KEY `user_id_fk_contacts`; 
    225225ALTER TABLE `contacts` DROP INDEX `user_contacts_index`; 
    226 ALTER TABLE `contacts` MODIFY `email` text NOT NULL DEFAULT ''; 
     226ALTER TABLE `contacts` MODIFY `email` text NOT NULL; 
    227227ALTER TABLE `contacts` ADD INDEX `user_contacts_index` (`user_id`,`del`); 
    228228ALTER TABLE `contacts` ADD CONSTRAINT `user_id_fk_contacts` FOREIGN KEY (`user_id`) 
Note: See TracChangeset for help on using the changeset viewer.