|
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 68-73
__PACKAGE__->add_columns(
Link Here
|
| 68 |
extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, |
75 |
extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, |
| 69 |
is_nullable => 0, |
76 |
is_nullable => 0, |
| 70 |
}, |
77 |
}, |
|
|
78 |
"mandatory", |
| 79 |
{ data_type => "tinyint", is_nullable => 1 }, |
| 71 |
); |
80 |
); |
| 72 |
|
81 |
|
| 73 |
=head1 PRIMARY KEY |
82 |
=head1 PRIMARY KEY |
|
Lines 114-121
__PACKAGE__->has_many(
Link Here
|
| 114 |
); |
123 |
); |
| 115 |
|
124 |
|
| 116 |
|
125 |
|
| 117 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-23 13:30:43 |
126 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-18 11:09:53 |
| 118 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1IenQWmCO16tJ/nIFTFYug |
127 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L/EHq8OrXxW9pU3dLrAqcg |
| 119 |
|
128 |
|
| 120 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
129 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
| 121 |
|
130 |
|
| 122 |
- |
|
|