|
Lines 48-58
the human readable name of the field, for display
Link Here
|
| 48 |
=head2 type |
48 |
=head2 type |
| 49 |
|
49 |
|
| 50 |
data_type: 'enum' |
50 |
data_type: 'enum' |
| 51 |
extra: {list => ["string","date","number","boolean","sum"]} |
51 |
extra: {list => ["","string","date","number","boolean","sum"]} |
| 52 |
is_nullable: 0 |
52 |
is_nullable: 0 |
| 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 facet_order |
| 57 |
|
| 58 |
data_type: 'tinyint' |
| 59 |
default_value: 0 |
| 60 |
is_nullable: 1 |
| 61 |
|
| 56 |
=cut |
62 |
=cut |
| 57 |
|
63 |
|
| 58 |
__PACKAGE__->add_columns( |
64 |
__PACKAGE__->add_columns( |
|
Lines 65-73
__PACKAGE__->add_columns(
Link Here
|
| 65 |
"type", |
71 |
"type", |
| 66 |
{ |
72 |
{ |
| 67 |
data_type => "enum", |
73 |
data_type => "enum", |
| 68 |
extra => { list => ["string", "date", "number", "boolean", "sum"] }, |
74 |
extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, |
| 69 |
is_nullable => 0, |
75 |
is_nullable => 0, |
| 70 |
}, |
76 |
}, |
|
|
77 |
"facet_order", |
| 78 |
{ data_type => "tinyint", default_value => 0, is_nullable => 1 }, |
| 71 |
); |
79 |
); |
| 72 |
|
80 |
|
| 73 |
=head1 PRIMARY KEY |
81 |
=head1 PRIMARY KEY |
|
Lines 114-121
__PACKAGE__->has_many(
Link Here
|
| 114 |
); |
122 |
); |
| 115 |
|
123 |
|
| 116 |
|
124 |
|
| 117 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-10-12 16:41:47 |
125 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-08 14:36:00 |
| 118 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4MJO9216VF37w7PlWCcBKg |
126 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rxOwC5fOXD7K5xqJykNPag |
| 119 |
|
127 |
|
| 120 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
128 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
| 121 |
|
129 |
|
| 122 |
- |
|
|