Bugzilla – Attachment 138610 Details for
Bug 30650
Add a curbside pickup module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30650: (QA follow-up) Fix TINYINT fields discrepancy on upgrade
Bug-30650-QA-follow-up-Fix-TINYINT-fields-discrepa.patch (text/plain), 1.50 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-08-04 12:51:06 UTC
(
hide
)
Description:
Bug 30650: (QA follow-up) Fix TINYINT fields discrepancy on upgrade
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-08-04 12:51:06 UTC
Size:
1.50 KB
patch
obsolete
>From 657a9f28998feb3745b31adaca2e4df19d25a02b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 4 Aug 2022 09:47:38 -0300 >Subject: [PATCH] Bug 30650: (QA follow-up) Fix TINYINT fields discrepancy on > upgrade > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/db_revs/220600022.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/db_revs/220600022.pl b/installer/data/mysql/db_revs/220600022.pl >index 95a37f6d82f..e3b427e97f1 100755 >--- a/installer/data/mysql/db_revs/220600022.pl >+++ b/installer/data/mysql/db_revs/220600022.pl >@@ -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 > }); > } > } >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30650
:
136584
|
136585
|
136586
|
136587
|
136588
|
136589
|
136590
|
136591
|
136592
|
136593
|
136594
|
136595
|
136596
|
136597
|
136598
|
136599
|
136600
|
136601
|
136602
|
136603
|
136604
|
136605
|
136606
|
136607
|
136608
|
136609
|
136610
|
137095
|
137100
|
137199
|
137211
|
137212
|
137277
|
137278
|
137279
|
137280
|
137281
|
137282
|
137283
|
137284
|
137285
|
137286
|
137287
|
137288
|
137289
|
137290
|
137291
|
137292
|
137293
|
137294
|
137295
|
137296
|
137297
|
137298
|
137299
|
137300
|
137301
|
137302
|
137303
|
137304
|
137305
|
137306
|
137307
|
138261
|
138262
|
138263
|
138264
|
138265
|
138266
|
138267
|
138268
|
138269
|
138270
|
138271
|
138272
|
138273
|
138274
|
138275
|
138276
|
138277
|
138278
|
138279
|
138280
|
138281
|
138282
|
138283
|
138284
|
138285
|
138286
|
138287
|
138288
|
138289
|
138290
|
138291
|
138292
|
138319
|
138320
|
138321
|
138322
|
138323
|
138324
|
138325
|
138330
|
138331
|
138332
|
138333
|
138334
|
138335
|
138336
|
138337
|
138338
|
138339
|
138340
|
138341
|
138342
|
138343
|
138344
|
138345
|
138346
|
138347
|
138348
|
138349
|
138350
|
138351
|
138352
|
138353
|
138354
|
138355
|
138356
|
138357
|
138358
|
138359
|
138360
|
138361
|
138362
|
138363
|
138364
|
138365
|
138366
|
138367
|
138368
|
138369
|
138375
|
138401
| 138610