Bug 24010: (QA follow-up) Correct COMMENT syntax

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 29a9d790e8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Tomás Cohen Arazi 2022-07-05 11:08:16 -03:00 committed by Lucas Gass
parent 07d00657e0
commit 9f83bad68c
2 changed files with 4 additions and 2 deletions

View file

@ -15,6 +15,7 @@ return {
$dbh->do(q{
ALTER TABLE subscription
MODIFY COLUMN staffdisplaycount INT(11) NULL DEFAULT NULL
COMMENT 'how many issues to show to the staff'
});
$dbh->do(q{
@ -25,6 +26,7 @@ return {
$dbh->do(q{
ALTER TABLE subscription
MODIFY COLUMN opacdisplaycount INT(11) NULL DEFAULT NULL
COMMENT 'how many issues to show to the public'
});
},
};

View file

@ -4874,8 +4874,8 @@ CREATE TABLE `subscription` (
`branchcode` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'default branches (items.homebranch)',
`lastbranch` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`serialsadditems` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'does receiving this serial create an item record',
`staffdisplaycount` INT(11) NULL DEFAULT NULL, -- how many issues to show to the staff
`opacdisplaycount` INT(11) NULL DEFAULT NULL, -- how many issues to show to the public
`staffdisplaycount` INT(11) NULL DEFAULT NULL COMMENT 'how many issues to show to the staff',
`opacdisplaycount` INT(11) NULL DEFAULT NULL COMMENT 'how many issues to show to the public',
`graceperiod` int(11) NOT NULL DEFAULT 0 COMMENT 'grace period in days',
`enddate` date DEFAULT NULL COMMENT 'subscription end date',
`closed` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'yes / no if the subscription is closed',