From 652ddd364d7cff5912bd8c372e5e1d427c05c018 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 22 Sep 2022 09:38:04 -0300 Subject: [PATCH] Bug 7021: DBIC schema Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/Statistic.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Statistic.pm b/Koha/Schema/Result/Statistic.pm index b9911cf63f..e6096eae2b 100644 --- a/Koha/Schema/Result/Statistic.pm +++ b/Koha/Schema/Result/Statistic.pm @@ -100,6 +100,14 @@ foreign key from the borrowers table, links transaction to a specific borrower foreign key from the items table, links transaction to a specific collection code +=head2 categorycode + + data_type: 'varchar' + is_nullable: 1 + size: 10 + +foreign key from the borrowers table, links transaction to a specific borrower category + =cut __PACKAGE__->add_columns( @@ -127,11 +135,13 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 1 }, "ccode", { data_type => "varchar", is_nullable => 1, size => 80 }, + "categorycode", + { data_type => "varchar", is_nullable => 1, size => 10 }, ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OjX7bnPQw0SjrCRB2oVr1w +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-22 12:36:29 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q1L7HqO/OkyzmiUcO3c0gg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.39.2