Bug 12478: fix multi-choice stuff in advanced search
[koha.git] / Koha / Schema / Result / ElasticsearchMapping.pm
1 use utf8;
2 package Koha::Schema::Result::ElasticsearchMapping;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::ElasticsearchMapping
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<elasticsearch_mapping>
19
20 =cut
21
22 __PACKAGE__->table("elasticsearch_mapping");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 mapping
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 255
37
38 =head2 type
39
40   data_type: 'varchar'
41   is_nullable: 0
42   size: 255
43
44 =head2 facet
45
46   data_type: 'tinyint'
47   default_value: 0
48   is_nullable: 1
49
50 =head2 marc21
51
52   data_type: 'varchar'
53   is_nullable: 1
54   size: 255
55
56 =head2 unimarc
57
58   data_type: 'varchar'
59   is_nullable: 1
60   size: 255
61
62 =head2 normarc
63
64   data_type: 'varchar'
65   is_nullable: 1
66   size: 255
67
68 =cut
69
70 __PACKAGE__->add_columns(
71   "id",
72   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
73   "mapping",
74   { data_type => "varchar", is_nullable => 1, size => 255 },
75   "type",
76   { data_type => "varchar", is_nullable => 0, size => 255 },
77   "facet",
78   { data_type => "tinyint", default_value => 0, is_nullable => 1 },
79   "marc21",
80   { data_type => "varchar", is_nullable => 1, size => 255 },
81   "unimarc",
82   { data_type => "varchar", is_nullable => 1, size => 255 },
83   "normarc",
84   { data_type => "varchar", is_nullable => 1, size => 255 },
85 );
86
87 =head1 PRIMARY KEY
88
89 =over 4
90
91 =item * L</id>
92
93 =back
94
95 =cut
96
97 __PACKAGE__->set_primary_key("id");
98
99
100 # Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-01 15:12:50
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:D9WpVp24RV/MGHktgXzdkQ
102
103
104 # You can replace this text with custom code or comments, and it will be preserved on regeneration
105 1;