2 package Koha::Schema::Result::SearchMarcToField;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::SearchMarcToField
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<search_marc_to_field>
22 __PACKAGE__->table("search_marc_to_field");
26 =head2 search_marc_map_id
32 =head2 search_field_id
44 true if a facet field should be generated for this
52 true if this field can be used to generate suggestions for browse
59 true/false creates special sort handling, null doesn't
63 __PACKAGE__->add_columns(
65 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
67 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
69 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
71 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
73 { data_type => "tinyint", is_nullable => 1 },
80 =item * L</search_marc_map_id>
82 =item * L</search_field_id>
88 __PACKAGE__->set_primary_key("search_marc_map_id", "search_field_id");
96 Related object: L<Koha::Schema::Result::SearchField>
100 __PACKAGE__->belongs_to(
102 "Koha::Schema::Result::SearchField",
103 { id => "search_field_id" },
104 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
107 =head2 search_marc_map
111 Related object: L<Koha::Schema::Result::SearchMarcMap>
115 __PACKAGE__->belongs_to(
117 "Koha::Schema::Result::SearchMarcMap",
118 { id => "search_marc_map_id" },
119 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
123 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-12 16:41:47
124 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ccnCYwDdtPGZ/VArAe1kPA
127 # You can replace this text with custom code or comments, and it will be preserved on regeneration