2 package Koha::Schema::Result::ImportAuth;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ImportAuth
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<import_auths>
22 __PACKAGE__->table("import_auths");
26 =head2 import_record_id
43 =head2 authorized_heading
49 =head2 original_source
57 __PACKAGE__->add_columns(
59 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
61 { data_type => "integer", is_nullable => 1 },
63 { data_type => "varchar", is_nullable => 1, size => 25 },
65 { data_type => "varchar", is_nullable => 1, size => 128 },
67 { data_type => "varchar", is_nullable => 1, size => 25 },
74 =item * L</import_record_id>
80 __PACKAGE__->set_primary_key("import_record_id");
88 Related object: L<Koha::Schema::Result::ImportRecord>
92 __PACKAGE__->belongs_to(
94 "Koha::Schema::Result::ImportRecord",
95 { import_record_id => "import_record_id" },
96 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
100 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-31 10:47:53
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SRH+gauacnrd+nD9OtAfCQ
104 # You can replace this text with custom content, and it will be preserved on regeneration