From a1b9055a40f03f3eae746ab98cb65b320f484d04 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 20 Dec 2023 14:44:35 +0000 Subject: [PATCH] Bug 35616: DBIC Schema --- 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 d45e542d441..bf8ca34317c 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 @ 2023-12-20 14:44:11 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GDz6OIQippcVcKESfzNbDg # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.43.0