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 mandatory |
57 |
|
58 |
data_type: 'tinyint' |
59 |
is_nullable: 1 |
60 |
|
61 |
if marked this field is not editable or removable |
62 |
|
56 |
=cut |
63 |
=cut |
57 |
|
64 |
|
58 |
__PACKAGE__->add_columns( |
65 |
__PACKAGE__->add_columns( |
Lines 70-75
__PACKAGE__->add_columns(
Link Here
|
70 |
}, |
77 |
}, |
71 |
is_nullable => 0, |
78 |
is_nullable => 0, |
72 |
}, |
79 |
}, |
|
|
80 |
"mandatory", |
81 |
{ data_type => "tinyint", is_nullable => 1 }, |
73 |
); |
82 |
); |
74 |
|
83 |
|
75 |
=head1 PRIMARY KEY |
84 |
=head1 PRIMARY KEY |
Lines 116-123
__PACKAGE__->has_many(
Link Here
|
116 |
); |
125 |
); |
117 |
|
126 |
|
118 |
|
127 |
|
119 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-27 04:12:00 |
128 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-16 15:18:29 |
120 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axyQNupqtw+5gMh1rsIHAg |
129 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Fzo2xXsBMwCF820h6JAt4Q |
121 |
|
130 |
|
122 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
131 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
123 |
|
132 |
|
124 |
- |
|
|