Bug 29002: Fix database update idempotency
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e8abbf0814
commit
f5eed5f2e3
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ return {
|
|||
|
||||
if ( !column_exists( 'deleteditems', 'bookable' ) ) {
|
||||
$dbh->do(q{
|
||||
ALTER TABLE items ADD COLUMN `bookable` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'boolean value defining whether this this item is available for bookings or not' AFTER `barcode`
|
||||
ALTER TABLE deleteditems ADD COLUMN `bookable` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'boolean value defining whether this this item is available for bookings or not' AFTER `barcode`
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue