From 3aa580848d50e46e0125fb06e0c4227ae8db18e9 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 8 Sep 2023 21:02:12 +0100 Subject: [PATCH] Bug 18783: DBIC Build --- Koha/Schema/Result/Subscription.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Koha/Schema/Result/Subscription.pm b/Koha/Schema/Result/Subscription.pm index be2df217703..55ee3878122 100644 --- a/Koha/Schema/Result/Subscription.pm +++ b/Koha/Schema/Result/Subscription.pm @@ -341,6 +341,14 @@ collection code to assign to serial items Template Toolkit syntax to generate the default "Published on (text)" field when receiving an issue this serial +=head2 auto_claim_enabled + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + +enable automatic claiming + =cut __PACKAGE__->add_columns( @@ -434,6 +442,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 80 }, "published_on_template", { data_type => "text", is_nullable => 1 }, + "auto_claim_enabled", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -612,4 +622,5 @@ __PACKAGE__->add_columns( '+skip_serialseq' => { is_boolean => 1 }, ); +# You can replace this text with custom content, and it will be preserved on regeneration 1; -- 2.50.0