Lines 53-58
the human readable name of the field, for display
Link Here
|
53 |
|
53 |
|
54 |
what type of data this holds, relevant when storing it in the search engine |
54 |
what type of data this holds, relevant when storing it in the search engine |
55 |
|
55 |
|
|
|
56 |
=head2 weight |
57 |
|
58 |
data_type: 'decimal' |
59 |
is_nullable: 1 |
60 |
size: [5,2] |
61 |
|
56 |
=cut |
62 |
=cut |
57 |
|
63 |
|
58 |
__PACKAGE__->add_columns( |
64 |
__PACKAGE__->add_columns( |
Lines 70-75
__PACKAGE__->add_columns(
Link Here
|
70 |
}, |
76 |
}, |
71 |
is_nullable => 0, |
77 |
is_nullable => 0, |
72 |
}, |
78 |
}, |
|
|
79 |
"weight", |
80 |
{ data_type => "decimal", is_nullable => 1, size => [5, 2] }, |
73 |
); |
81 |
); |
74 |
|
82 |
|
75 |
=head1 PRIMARY KEY |
83 |
=head1 PRIMARY KEY |
Lines 116-124
__PACKAGE__->has_many(
Link Here
|
116 |
); |
124 |
); |
117 |
|
125 |
|
118 |
|
126 |
|
119 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-27 04:12:00 |
127 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2018-10-23 14:57:11 |
120 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axyQNupqtw+5gMh1rsIHAg |
128 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pmTa/VWSm2pudjI3SgBWuQ |
121 |
|
129 |
|
122 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
|
|
123 |
|
130 |
|
|
|
131 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
124 |
1; |
132 |
1; |
125 |
- |
|
|