@@ -, +, @@ --- Koha/Schema/Result/OldIssue.pm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) --- a/Koha/Schema/Result/OldIssue.pm +++ a/Koha/Schema/Result/OldIssue.pm @@ -23,6 +23,12 @@ __PACKAGE__->table("old_issues"); =head1 ACCESSORS +=head2 id + + data_type: 'integer' + is_auto_increment: 1 + is_nullable: 0 + =head2 issue_id data_type: 'integer' @@ -103,6 +109,8 @@ __PACKAGE__->table("old_issues"); =cut __PACKAGE__->add_columns( + "id", + { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, "issue_id", { data_type => "integer", is_nullable => 0 }, "borrowernumber", @@ -156,13 +164,13 @@ __PACKAGE__->add_columns( =over 4 -=item * L +=item * L =back =cut -__PACKAGE__->set_primary_key("issue_id"); +__PACKAGE__->set_primary_key("id"); =head1 RELATIONS @@ -207,8 +215,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 13:04:51 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9GdzytyInRcFZns/q0qb3Q +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-09 15:35:19 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4N/RnY1dwjY/b2iMAdAXzQ sub koha_objects_class { 'Koha::Old::Checkouts'; --