From 20cf1fd7b681c54b8147a4a45e1394170de82970 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Mon, 16 Sep 2024 10:17:29 +0000 Subject: [PATCH] Bug 37601: (QA follow-up) Change updated_on to modification_date in accordance with Bug 37592 Signed-off-by: Katrin Fischer --- .../bug_37601-add-status-field-to-bookings-table.pl | 3 ++- 1 file changed, 2 insertions(+), 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 3fe0fa8c6a..d80b809274 100755 --- 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 @@ -14,7 +14,8 @@ return { return; } - my $after = 'AFTER' . ( column_exists( 'bookings', 'updated_on' ) ? q{`updated_on`} : q{`end_date`} ); + my $after = + '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; -- 2.39.5