From 948cf5f2b8b3c7e4b1f82ab38c85d6c6fe0c97bc Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Tue, 27 Aug 2024 13:44:10 +0200 Subject: [PATCH] Bug 37601: (follow-up) Change updated_at to updated_on in accordance with Bug 37592 --- .../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 24789a9f72..3fe0fa8c6a 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 @@ -14,7 +14,7 @@ return { return; } - my $after = 'AFTER' . ( column_exists( 'bookings', 'updated_at' ) ? q{`updated_at`} : q{`end_date`} ); + my $after = 'AFTER' . ( column_exists( 'bookings', 'updated_on' ) ? q{`updated_on`} : 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.46.0