2 package Koha::Schema::Result::ItemsSearchField;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ItemsSearchField
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<items_search_fields>
22 __PACKAGE__->table("items_search_fields");
50 =head2 authorised_values_category
59 __PACKAGE__->add_columns(
61 { data_type => "varchar", is_nullable => 0, size => 255 },
63 { data_type => "varchar", is_nullable => 0, size => 255 },
65 { data_type => "char", is_nullable => 0, size => 3 },
67 { data_type => "char", is_nullable => 1, size => 1 },
68 "authorised_values_category",
69 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 32 },
82 __PACKAGE__->set_primary_key("name");
86 =head2 authorised_values_category
90 Related object: L<Koha::Schema::Result::AuthorisedValue>
94 __PACKAGE__->belongs_to(
95 "authorised_values_category",
96 "Koha::Schema::Result::AuthorisedValue",
97 { category => "authorised_values_category" },
101 on_delete => "SET NULL",
102 on_update => "CASCADE",
107 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-02-05 15:20:11
108 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oHoTxnECC/702vwFO4vdqw
111 # You can replace this text with custom code or comments, and it will be preserved on regeneration