From f71208ff76c74d505e8dd7a9b053153bdf04915a Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Mon, 16 Sep 2024 10:20:09 +0000 Subject: [PATCH] Bug 37601: (QA follow-up) Rename status 'created' as 'new' to be more consistent with other modules --- .../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 d80b809274..01172c044d 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('created', 'cancelled') NOT NULL DEFAULT 'created' COMMENT 'current status of the booking' $after; + ADD COLUMN `status` ENUM('new', 'cancelled') 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