Bug 37601: (QA follow-up) Change updated_on to modification_date in accordance with Bug 37592
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
2b6bd66fd2
commit
20cf1fd7b6
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue