From c53764673bd2bce9176644f2bb1d5aa0e8dd0979 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 23 Dec 2016 15:57:54 -0300 Subject: [PATCH] Bug 17813: DBIC update Signed-off-by: Kyle M Hall --- Koha/Schema/Result/BorrowerAttribute.pm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/BorrowerAttribute.pm b/Koha/Schema/Result/BorrowerAttribute.pm index 1406135..45ce0bf 100644 --- a/Koha/Schema/Result/BorrowerAttribute.pm +++ b/Koha/Schema/Result/BorrowerAttribute.pm @@ -23,6 +23,12 @@ __PACKAGE__->table("borrower_attributes"); =head1 ACCESSORS +=head2 id + + data_type: 'integer' + is_auto_increment: 1 + is_nullable: 0 + =head2 borrowernumber data_type: 'integer' @@ -45,6 +51,8 @@ __PACKAGE__->table("borrower_attributes"); =cut __PACKAGE__->add_columns( + "id", + { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, "borrowernumber", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "code", @@ -53,6 +61,18 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 255 }, ); +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("id"); + =head1 RELATIONS =head2 borrowernumber @@ -86,8 +106,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-25 18:09:15 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GfEFw+6mgaFw6Q8dktPtGw +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 04:41:27 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EarETnedFsmRmAAJAUrKGg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.1.4