Bug 30392: (QA follow-up) Correct COMMENT
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
36d1f18bd5
commit
bc1e0d04fc
2 changed files with 4 additions and 4 deletions
|
@ -9,14 +9,14 @@ return {
|
||||||
unless ( column_exists('items', 'deleted_on') ) {
|
unless ( column_exists('items', 'deleted_on') ) {
|
||||||
$dbh->do(q{
|
$dbh->do(q{
|
||||||
ALTER TABLE items
|
ALTER TABLE items
|
||||||
ADD COLUMN deleted_on DATETIME DEFAULT NULL COMMENT 'date of the deletion'
|
ADD COLUMN deleted_on DATETIME DEFAULT NULL COMMENT 'date/time of deletion'
|
||||||
AFTER timestamp
|
AFTER timestamp
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
unless ( column_exists('deleteditems', 'deleted_on') ) {
|
unless ( column_exists('deleteditems', 'deleted_on') ) {
|
||||||
$dbh->do(q{
|
$dbh->do(q{
|
||||||
ALTER TABLE deleteditems
|
ALTER TABLE deleteditems
|
||||||
ADD COLUMN deleted_on DATETIME DEFAULT NULL COMMENT 'date of the deletion'
|
ADD COLUMN deleted_on DATETIME DEFAULT NULL COMMENT 'date/time of deletion'
|
||||||
AFTER timestamp
|
AFTER timestamp
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -2650,7 +2650,7 @@ CREATE TABLE `deleteditems` (
|
||||||
`itemnotes_nonpublic` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'non-public notes on this item (MARC21 952$x)',
|
`itemnotes_nonpublic` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'non-public notes on this item (MARC21 952$x)',
|
||||||
`holdingbranch` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)',
|
`holdingbranch` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)',
|
||||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'date and time this item was last altered',
|
`timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'date and time this item was last altered',
|
||||||
`deleted_on` DATETIME DEFAULT NULL COMMENT 'date of the deletion',
|
`deleted_on` DATETIME DEFAULT NULL COMMENT 'date/time of deletion',
|
||||||
`location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the shelving location for this item (MARC21 952$c)',
|
`location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the shelving location for this item (MARC21 952$c)',
|
||||||
`permanent_location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'linked to the CART and PROC temporary locations feature, stores the permanent shelving location',
|
`permanent_location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'linked to the CART and PROC temporary locations feature, stores the permanent shelving location',
|
||||||
`onloan` date DEFAULT NULL COMMENT 'defines if item is checked out (NULL for not checked out, and due date for checked out)',
|
`onloan` date DEFAULT NULL COMMENT 'defines if item is checked out (NULL for not checked out, and due date for checked out)',
|
||||||
|
@ -3212,7 +3212,7 @@ CREATE TABLE `items` (
|
||||||
`itemnotes_nonpublic` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'non-public notes on this item (MARC21 952$x)',
|
`itemnotes_nonpublic` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'non-public notes on this item (MARC21 952$x)',
|
||||||
`holdingbranch` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)',
|
`holdingbranch` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)',
|
||||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'date and time this item was last altered',
|
`timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() COMMENT 'date and time this item was last altered',
|
||||||
`deleted_on` DATETIME DEFAULT NULL COMMENT 'date of the deletion',
|
`deleted_on` DATETIME DEFAULT NULL COMMENT 'date/time of deletion',
|
||||||
`location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the shelving location for this item (MARC21 952$c)',
|
`location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'authorized value for the shelving location for this item (MARC21 952$c)',
|
||||||
`permanent_location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'linked to the CART and PROC temporary locations feature, stores the permanent shelving location',
|
`permanent_location` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'linked to the CART and PROC temporary locations feature, stores the permanent shelving location',
|
||||||
`onloan` date DEFAULT NULL COMMENT 'defines if item is checked out (NULL for not checked out, and due date for checked out)',
|
`onloan` date DEFAULT NULL COMMENT 'defines if item is checked out (NULL for not checked out, and due date for checked out)',
|
||||||
|
|
Loading…
Reference in a new issue