Bug 14957: Updated schema files
authorAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 10 Feb 2021 03:49:16 +0000 (16:49 +1300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Oct 2021 14:46:02 +0000 (16:46 +0200)
Signed-off-by: Christian Stelzenmüller <christian.stelzenmueller@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Schema/Result/MarcMergeRule.pm [new file with mode: 0644]

diff --git a/Koha/Schema/Result/MarcMergeRule.pm b/Koha/Schema/Result/MarcMergeRule.pm
new file mode 100644 (file)
index 0000000..104b7f5
--- /dev/null
@@ -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<marc_merge_rules>
+
+=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</id>
+
+=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;