From 741f4f7b04b6ef774ac2f2f4dc711361e4d90add Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 24 Oct 2024 16:23:28 +0000 Subject: [PATCH] Bug 38193: DBIC schema update Signed-off-by: Katrin Fischer --- Koha/Schema/Result/Booking.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Booking.pm b/Koha/Schema/Result/Booking.pm index 8f38cd6919..2231dbf19a 100644 --- a/Koha/Schema/Result/Booking.pm +++ b/Koha/Schema/Result/Booking.pm @@ -109,6 +109,14 @@ the timestamp for when a booking has been updated current status of the booking +=head2 cancellation_reason + + data_type: 'varchar' + is_nullable: 1 + size: 80 + +optional authorised value BOOKING_CANCELLATION + =cut __PACKAGE__->add_columns( @@ -165,6 +173,8 @@ __PACKAGE__->add_columns( extra => { list => ["new", "cancelled", "completed"] }, is_nullable => 0, }, + "cancellation_reason", + { data_type => "varchar", is_nullable => 1, size => 80 }, ); =head1 PRIMARY KEY @@ -247,8 +257,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-09-18 08:58:14 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3ctwNEgFUMhV+uR/UGSWag +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-24 16:23:05 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kTR2kwiwY2PnjU1E0P+CMQ # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5