From ca5ebd6e7aa53c320067639837908bd9f9a5f0b5 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 20 Dec 2021 14:41:25 +0000 Subject: [PATCH] Bug 22785: DO NOT PUSH Schema Updates Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- Koha/Schema/Result/ImportRecordMatch.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ImportRecordMatch.pm b/Koha/Schema/Result/ImportRecordMatch.pm index 0a603ee622..c528807cd0 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,6 +62,8 @@ __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 @@ -89,8 +98,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-03 14:22:04 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jN0xJqlL5brcUwa3bvEHHQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-12-20 14:40:50 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+aVZQFY/Tb1N6C6GgMwlig sub koha_object_class { 'Koha::Import::Record::Match'; -- 2.20.1