From f1243de69b20afd7a561d777bec82f9cde8e087e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 14 May 2021 17:50:42 +0000 Subject: [PATCH] Bug 22785: DO NOT PUSH Schema updates --- Koha/Schema/Result/ImportRecordMatch.pm | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ImportRecordMatch.pm b/Koha/Schema/Result/ImportRecordMatch.pm index ae09a53e7f..1ce9d88ec7 100644 --- a/Koha/Schema/Result/ImportRecordMatch.pm +++ b/Koha/Schema/Result/ImportRecordMatch.pm @@ -46,6 +46,13 @@ the biblio the imported record matches (biblio.biblionumber) the match score +=head2 chosen + + data_type: 'tinyint' + is_nullable: 1 + +whether this match has been allowed or denied + =cut __PACKAGE__->add_columns( @@ -55,8 +62,24 @@ __PACKAGE__->add_columns( { data_type => "integer", is_nullable => 0 }, "score", { data_type => "integer", default_value => 0, is_nullable => 0 }, + "chosen", + { data_type => "tinyint", is_nullable => 1 }, ); +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("import_record_id", "candidate_match_id"); + =head1 RELATIONS =head2 import_record @@ -75,8 +98,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kWU/SGWvZBBvVwEvDysrtA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-14 17:49:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e+g5nzHamX5ktnmMV6/KvQ sub koha_object_class { 'Koha::Import::Record::Match'; -- 2.11.0