Lines 52-58
__PACKAGE__->table("items_search_fields");
Link Here
|
52 |
data_type: 'varchar' |
52 |
data_type: 'varchar' |
53 |
is_foreign_key: 1 |
53 |
is_foreign_key: 1 |
54 |
is_nullable: 1 |
54 |
is_nullable: 1 |
55 |
size: 32 |
55 |
size: 80 |
56 |
|
56 |
|
57 |
=cut |
57 |
=cut |
58 |
|
58 |
|
Lines 66-72
__PACKAGE__->add_columns(
Link Here
|
66 |
"tagsubfield", |
66 |
"tagsubfield", |
67 |
{ data_type => "char", is_nullable => 1, size => 1 }, |
67 |
{ data_type => "char", is_nullable => 1, size => 1 }, |
68 |
"authorised_values_category", |
68 |
"authorised_values_category", |
69 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 32 }, |
69 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 }, |
70 |
); |
70 |
); |
71 |
|
71 |
|
72 |
=head1 PRIMARY KEY |
72 |
=head1 PRIMARY KEY |
Lines 87-100
__PACKAGE__->set_primary_key("name");
Link Here
|
87 |
|
87 |
|
88 |
Type: belongs_to |
88 |
Type: belongs_to |
89 |
|
89 |
|
90 |
Related object: L<Koha::Schema::Result::AuthorisedValue> |
90 |
Related object: L<Koha::Schema::Result::AuthorisedValueCategory> |
91 |
|
91 |
|
92 |
=cut |
92 |
=cut |
93 |
|
93 |
|
94 |
__PACKAGE__->belongs_to( |
94 |
__PACKAGE__->belongs_to( |
95 |
"authorised_values_category", |
95 |
"authorised_values_category", |
96 |
"Koha::Schema::Result::AuthorisedValue", |
96 |
"Koha::Schema::Result::AuthorisedValueCategory", |
97 |
{ category => "authorised_values_category" }, |
97 |
{ category_name => "authorised_values_category" }, |
98 |
{ |
98 |
{ |
99 |
is_deferrable => 1, |
99 |
is_deferrable => 1, |
100 |
join_type => "LEFT", |
100 |
join_type => "LEFT", |
Lines 104-111
__PACKAGE__->belongs_to(
Link Here
|
104 |
); |
104 |
); |
105 |
|
105 |
|
106 |
|
106 |
|
107 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-02-05 15:20:11 |
107 |
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-29 11:50:45 |
108 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oHoTxnECC/702vwFO4vdqw |
108 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5iB4gfxlZLHw2fqwoK/Wtg |
109 |
|
109 |
|
110 |
|
110 |
|
111 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
111 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
112 |
- |
|
|