Lines 66-71
what type of data this holds, relevant when storing it in the search engine
Link Here
|
66 |
|
66 |
|
67 |
the order place of the field in facet list if faceted |
67 |
the order place of the field in facet list if faceted |
68 |
|
68 |
|
|
|
69 |
=head2 mandatory |
70 |
|
71 |
data_type: 'tinyint' |
72 |
is_nullable: 1 |
73 |
|
74 |
if marked this field is not editable or removable |
75 |
|
69 |
=cut |
76 |
=cut |
70 |
|
77 |
|
71 |
__PACKAGE__->add_columns( |
78 |
__PACKAGE__->add_columns( |
Lines 87-92
__PACKAGE__->add_columns(
Link Here
|
87 |
{ data_type => "decimal", is_nullable => 1, size => [5, 2] }, |
94 |
{ data_type => "decimal", is_nullable => 1, size => [5, 2] }, |
88 |
"facet_order", |
95 |
"facet_order", |
89 |
{ data_type => "tinyint", is_nullable => 1 }, |
96 |
{ data_type => "tinyint", is_nullable => 1 }, |
|
|
97 |
"mandatory", |
98 |
{ data_type => "tinyint", is_nullable => 1 }, |
90 |
); |
99 |
); |
91 |
|
100 |
|
92 |
=head1 PRIMARY KEY |
101 |
=head1 PRIMARY KEY |
Lines 133-140
__PACKAGE__->has_many(
Link Here
|
133 |
); |
142 |
); |
134 |
|
143 |
|
135 |
|
144 |
|
136 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-28 15:31:40 |
145 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 10:16:56 |
137 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4Hc7O2fMCses1Bgfmk6Anw |
146 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:epEUxa1RT5ch8+DQ6LJvuw |
138 |
|
147 |
|
139 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
148 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
140 |
|
149 |
|
141 |
- |
|
|