2 package Koha::Schema::Result::NeedMergeAuthority;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::NeedMergeAuthority
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<need_merge_authorities>
22 __PACKAGE__->table("need_merge_authorities");
39 reference to original authority record
46 reference to optional new authority record
50 data_type: 'mediumtext'
53 xml showing original reporting tag
57 data_type: 'timestamp'
58 datetime_undef_if_invalid: 1
59 default_value: current_timestamp
62 date and time last modified
72 __PACKAGE__->add_columns(
74 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
76 { data_type => "bigint", is_nullable => 0 },
78 { data_type => "bigint", is_nullable => 1 },
80 { data_type => "mediumtext", is_nullable => 1 },
83 data_type => "timestamp",
84 datetime_undef_if_invalid => 1,
85 default_value => \"current_timestamp",
89 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
102 __PACKAGE__->set_primary_key("id");
105 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
106 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZGE483WQMHZLpdgAAPHMKg
108 sub koha_object_class {
109 'Koha::Authority::MergeRequest';
111 sub koha_objects_class {
112 'Koha::Authority::MergeRequests';