From 262646bd60751caadb3be6be9ee5124cf733cbaa 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 Signed-off-by: LEBSimonsen Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../bug_37601-add-status-field-to-bookings-table.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_37601-add-status-field-to-bookings-table.pl 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 old mode 100644 new mode 100755 index 24789a9f72..3fe0fa8c6a --- 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.39.5