Bugzilla – Attachment 171528 Details for
Bug 37601
Add status field to bookings table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37601: (QA follow-up) Add status 'completed'
Bug-37601-QA-follow-up-Add-status-completed.patch (text/plain), 1.40 KB, created by
Paul Derscheid
on 2024-09-16 10:31:57 UTC
(
hide
)
Description:
Bug 37601: (QA follow-up) Add status 'completed'
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-09-16 10:31:57 UTC
Size:
1.40 KB
patch
obsolete
>From 46a841cf0f2e3ca982536debe912c554ccdf7cfb Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Mon, 16 Sep 2024 10:27:45 +0000 >Subject: [PATCH] Bug 37601: (QA follow-up) Add status 'completed' > >This will probably be useful when transforming a booking into a checkout. >--- > .../bug_37601-add-status-field-to-bookings-table.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_37601-add-status-field-to-bookings-table.pl b/installer/data/mysql/atomicupdate/bug_37601-add-status-field-to-bookings-table.pl >index 01172c044d..5e35688ac7 100644 >--- a/installer/data/mysql/atomicupdate/bug_37601-add-status-field-to-bookings-table.pl >+++ b/installer/data/mysql/atomicupdate/bug_37601-add-status-field-to-bookings-table.pl >@@ -18,7 +18,7 @@ return { > 'AFTER' . ( column_exists( 'bookings', 'modification_date' ) ? q{`modification_date`} : q{`end_date`} ); > my $statement = <<~"SQL"; > ALTER TABLE `bookings` >- ADD COLUMN `status` ENUM('new', 'cancelled') NOT NULL DEFAULT 'new' COMMENT 'current status of the booking' $after; >+ ADD COLUMN `status` ENUM('new', 'cancelled', 'completed') NOT NULL DEFAULT 'new' COMMENT 'current status of the booking' $after; > SQL > if ( $dbh->do($statement) ) { > say_success( $out, q{Added column 'bookings.status'} ); >-- >2.46.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 37601
:
170260
|
170767
|
171241
|
171380
|
171381
|
171382
|
171526
|
171527
| 171528 |
171653
|
171654
|
171655