From 9c7fdb3ea874a20debb73bac176bcc3ccec081c5 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 14 Jul 2023 08:46:53 -0300 Subject: [PATCH] Bug 33039: DBIC schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Subscription.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Subscription.pm b/Koha/Schema/Result/Subscription.pm index 900039dc52..cb5d1533f4 100644 --- a/Koha/Schema/Result/Subscription.pm +++ b/Koha/Schema/Result/Subscription.pm @@ -334,6 +334,13 @@ date of last renewal for the subscription collection code to assign to serial items +=head2 published_on_template + + data_type: 'text' + is_nullable: 1 + +Template Toolkit syntax to generate the default "Published on (text)" field when receiving an issue this serial + =cut __PACKAGE__->add_columns( @@ -425,6 +432,8 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 1 }, "ccode", { data_type => "varchar", is_nullable => 1, size => 80 }, + "published_on_template", + { data_type => "text", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -557,8 +566,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2022-07-05 17:45:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MFOz3AKUVSPuQv6kMb1EbA +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-07-14 11:46:15 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LICIiWzag365cUAq5OYD2A __PACKAGE__->has_many( "additional_field_values", -- 2.39.5