diff --git a/db/0025-increase-personinfo-size.sql b/db/0025-increase-personinfo-size.sql new file mode 100644 index 0000000000..ff58be2dd6 --- /dev/null +++ b/db/0025-increase-personinfo-size.sql @@ -0,0 +1,3 @@ +ALTER TABLE `personinfo` +MODIFY COLUMN `data_value` +mediumtext NOT NULL; diff --git a/db/schema.sql b/db/schema.sql index 605b2d70a7..709fe160af 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -202,7 +202,7 @@ CREATE TABLE `moffice` ( CREATE TABLE `personinfo` ( `person_id` int(11) NOT NULL default '0', `data_key` varchar(100) NOT NULL default '', - `data_value` text NOT NULL, + `data_value` mediumtext NOT NULL, `lastupdate` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, UNIQUE KEY `personinfo_person_id_data_key` (`person_id`,`data_key`), KEY `person_id` (`person_id`)