Skip to content

Commit

Permalink
Merge pull request #198 from hathitrust/allow-long-n-enums
Browse files Browse the repository at this point in the history
Increase length limit on holdings_htitem_htmember table
  • Loading branch information
aelkiss authored Jul 5, 2022
2 parents da6016e + b889cd9 commit b4f7b94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sql/003_holdings_htitem_htmember.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
USE `ht_repository`;

CREATE TABLE IF NOT EXISTS `holdings_htitem_htmember` (
`lock_id` varchar(100) NOT NULL,
`lock_id` varchar(300) NOT NULL,
`cluster_id` varchar(25) NOT NULL,
`volume_id` varchar(50) NOT NULL,
`n_enum` varchar(50) DEFAULT '',
`n_enum` varchar(250) DEFAULT '',
`member_id` varchar(20) NOT NULL,
`copy_count` int(11) DEFAULT NULL,
`lm_count` smallint(6) DEFAULT NULL,
Expand All @@ -14,4 +14,4 @@ CREATE TABLE IF NOT EXISTS `holdings_htitem_htmember` (
PRIMARY KEY (`volume_id`, `member_id`),
KEY (`member_id`),
KEY (`cluster_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

0 comments on commit b4f7b94

Please sign in to comment.