From 9881bc9ec76363ccd204b53a9a3e402a25eedd62 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 4 Jan 2021 14:22:47 +0000 Subject: [PATCH] Bug 22785: DO NOT PUSH Schema updates --- Koha/Schema/Result/ImportRecordMatch.pm | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ImportRecordMatch.pm b/Koha/Schema/Result/ImportRecordMatch.pm index 1330ce42eb..b09cb07f47 100644 --- a/Koha/Schema/Result/ImportRecordMatch.pm +++ b/Koha/Schema/Result/ImportRecordMatch.pm @@ -40,6 +40,11 @@ __PACKAGE__->table("import_record_matches"); default_value: 0 is_nullable: 0 +=head2 chosen + + data_type: 'tinyint' + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -49,8 +54,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 @@ -69,8 +90,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJW36EeP+H8+0/Ij3iuIFw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-04 14:04:12 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YSZUbzE+4O/Z2BWrcWQ/bQ sub koha_object_class { 'Koha::Import::Record::Match'; -- 2.11.0