Skip to content

Commit

Permalink
Increase size of personinfo value to mediumtext.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Dec 9, 2024
1 parent 3eb1fe2 commit 1890b56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions db/0025-increase-personinfo-size.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE `personinfo`
MODIFY COLUMN `data_value`
mediumtext NOT NULL;
2 changes: 1 addition & 1 deletion db/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 1890b56

Please sign in to comment.