Lines 37-42
__PACKAGE__->table("search_field");
Link Here
|
37 |
|
37 |
|
38 |
the name of the field as it will be stored in the search engine |
38 |
the name of the field as it will be stored in the search engine |
39 |
|
39 |
|
|
|
40 |
=head2 label |
41 |
|
42 |
data_type: 'varchar' |
43 |
is_nullable: 1 |
44 |
size: 255 |
45 |
|
40 |
=head2 type |
46 |
=head2 type |
41 |
|
47 |
|
42 |
data_type: 'enum' |
48 |
data_type: 'enum' |
Lines 52-57
__PACKAGE__->add_columns(
Link Here
|
52 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
58 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
53 |
"name", |
59 |
"name", |
54 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
60 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
|
|
61 |
"label", |
62 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
55 |
"type", |
63 |
"type", |
56 |
{ |
64 |
{ |
57 |
data_type => "enum", |
65 |
data_type => "enum", |
Lines 114-121
Composing rels: L</search_marc_to_fields> -> search_marc_map
Link Here
|
114 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
122 |
__PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); |
115 |
|
123 |
|
116 |
|
124 |
|
117 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-09-01 16:56:47 |
125 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-09-25 15:21:43 |
118 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VN1BPJJTnr7p+I2bRZoBEA |
126 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HD0m5hWYi/GXgz1rvk+Ipw |
119 |
|
127 |
|
120 |
|
128 |
|
121 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
129 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |