Bug 30650: (QA follow-up) Fix TINYINT fields discrepancy on upgrade
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e7a8aab055
commit
657a9f2899
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ return {
|
|||
CREATE TABLE `curbside_pickup_opening_slots` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`curbside_pickup_policy_id` INT(11) NOT NULL,
|
||||
`day` INT(1) NOT NULL,
|
||||
`day` TINYINT(1) NOT NULL,
|
||||
`start_hour` INT(2) NOT NULL,
|
||||
`start_minute` INT(2) NOT NULL,
|
||||
`end_hour` INT(2) NOT NULL,
|
||||
|
@ -182,7 +182,7 @@ return {
|
|||
unless ( column_exists('curbside_pickup_policy', 'enable_waiting_holds_only') ) {
|
||||
$dbh->do(q{
|
||||
ALTER table curbside_pickup_policy
|
||||
ADD COLUMN enable_waiting_holds_only INT(1) NOT NULL DEFAULT 0 AFTER enabled
|
||||
ADD COLUMN enable_waiting_holds_only TINYINT(1) NOT NULL DEFAULT 0 AFTER enabled
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue