From ad62f81b03ff51d62d6d43ebbae120b7b85e8909 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 22 Apr 2024 06:55:34 +0000 Subject: [PATCH] Bug 35616: DBIC schema update Signed-off-by: Katrin Fischer --- Koha/Schema/Result/Ticket.pm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Ticket.pm b/Koha/Schema/Result/Ticket.pm index d45e542d44..f8f428dab9 100644 --- a/Koha/Schema/Result/Ticket.pm +++ b/Koha/Schema/Result/Ticket.pm @@ -31,6 +31,15 @@ __PACKAGE__->table("tickets"); primary key +=head2 source + + data_type: 'enum' + default_value: 'catalog' + extra: {list => ["catalog"]} + is_nullable: 0 + +source of ticket + =head2 reporter_id data_type: 'integer' @@ -92,6 +101,13 @@ id of biblio linked __PACKAGE__->add_columns( "id", { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, + "source", + { + data_type => "enum", + default_value => "catalog", + extra => { list => ["catalog"] }, + is_nullable => 0, + }, "reporter_id", { data_type => "integer", @@ -207,8 +223,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-24 21:15:34 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0Nm+y1BHJicrpeq3kuU1VA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-21 16:39:22 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A0jSRniIlOf/H5zB6PGH3g # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5