Bug 7021: (QA follow-up) Fix typo
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
ffd7a6b6b0
commit
d98432d8f2
|
|
@ -8,9 +8,10 @@ return {
|
|||
my ($dbh, $out) = @$args{qw(dbh out)};
|
||||
|
||||
if( !column_exists( 'statistics', 'categorycode' ) ) {
|
||||
$dbh->do(
|
||||
"ALTER TABLE statistics ADD COLUMN categorycode varchar(10) AFTER ccode"
|
||||
);
|
||||
$dbh->do(q{
|
||||
ALTER TABLE statistics
|
||||
ADD COLUMN categorycode varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the borrowers table, links transaction to a specific borrower category'
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4937,7 +4937,7 @@ CREATE TABLE `statistics` (
|
|||
`location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the shelving location for this item (MARC21 952$c)',
|
||||
`borrowernumber` int(11) DEFAULT NULL COMMENT 'foreign key from the borrowers table, links transaction to a specific borrower',
|
||||
`ccode` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the items table, links transaction to a specific collection code',
|
||||
`categorycode` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the borrowers table, links transaction to a specific borrower category',,
|
||||
`categorycode` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the borrowers table, links transaction to a specific borrower category',
|
||||
KEY `timeidx` (`datetime`),
|
||||
KEY `branch_idx` (`branch`),
|
||||
KEY `type_idx` (`type`),
|
||||
|
|
|
|||
Loading…
Reference in New Issue