From 859396b804356852ff7b3feb3b0a9f8200672141 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 10 Feb 2021 16:49:16 +1300 Subject: [PATCH] Bug 14957: Updated schema files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Stelzenmüller Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- Koha/Schema/Result/MarcMergeRule.pm | 110 ++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 Koha/Schema/Result/MarcMergeRule.pm diff --git a/Koha/Schema/Result/MarcMergeRule.pm b/Koha/Schema/Result/MarcMergeRule.pm new file mode 100644 index 0000000000..104b7f54c0 --- /dev/null +++ b/Koha/Schema/Result/MarcMergeRule.pm @@ -0,0 +1,110 @@ +use utf8; +package Koha::Schema::Result::MarcMergeRule; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +=head1 NAME + +Koha::Schema::Result::MarcMergeRule + +=cut + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +=head1 TABLE: C + +=cut + +__PACKAGE__->table("marc_merge_rules"); + +=head1 ACCESSORS + +=head2 id + + data_type: 'integer' + is_auto_increment: 1 + is_nullable: 0 + +=head2 tag + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=head2 module + + data_type: 'varchar' + is_nullable: 0 + size: 127 + +=head2 filter + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=head2 add + + data_type: 'tinyint' + is_nullable: 0 + +=head2 append + + data_type: 'tinyint' + is_nullable: 0 + +=head2 remove + + data_type: 'tinyint' + is_nullable: 0 + +=head2 delete + + accessor: undef + data_type: 'tinyint' + is_nullable: 0 + +=cut + +__PACKAGE__->add_columns( + "id", + { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, + "tag", + { data_type => "varchar", is_nullable => 0, size => 255 }, + "module", + { data_type => "varchar", is_nullable => 0, size => 127 }, + "filter", + { data_type => "varchar", is_nullable => 0, size => 255 }, + "add", + { data_type => "tinyint", is_nullable => 0 }, + "append", + { data_type => "tinyint", is_nullable => 0 }, + "remove", + { data_type => "tinyint", is_nullable => 0 }, + "delete", + { accessor => undef, data_type => "tinyint", is_nullable => 0 }, +); + +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("id"); + + +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-02-10 16:31:43 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jdTzjEX0dUsXzK7LtlOS9w + + +# You can replace this text with custom code or comments, and it will be preserved on regeneration +1; -- 2.39.5