@@ -, +, @@ --- Koha/Schema/Result/BorrowerAttribute.pm | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) --- a/Koha/Schema/Result/BorrowerAttribute.pm +++ a/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 --