From f158a87c09fe58c8628bc6c3bfa9a0d5b1f79508 Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Wed, 13 Aug 2025 13:59:02 +0200 Subject: [PATCH] Bug 37344: [DO NOT PUSH] Dbix changes --- Koha/Schema/Result/Discharge.pm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Discharge.pm b/Koha/Schema/Result/Discharge.pm index 2a6878520..1181b1ee0 100644 --- a/Koha/Schema/Result/Discharge.pm +++ b/Koha/Schema/Result/Discharge.pm @@ -47,6 +47,18 @@ __PACKAGE__->table("discharges"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 cancelled + + data_type: 'timestamp' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +=head2 cancellation_reason + + data_type: 'varchar' + is_nullable: 1 + size: 80 + =cut __PACKAGE__->add_columns( @@ -66,6 +78,14 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, + "cancelled", + { + data_type => "timestamp", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, + "cancellation_reason", + { data_type => "varchar", is_nullable => 1, size => 80 }, ); =head1 PRIMARY KEY @@ -103,8 +123,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-28 12:09:06 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wc3EkS92v98jXtena5VaUQ +# Created by DBIx::Class::Schema::Loader v0.07052 @ 2025-04-30 10:35:23 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nw3IMky+ABLpeC6I54uHQQ # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.30.2