Bug 19482: DBIC schema changes
[koha.git] / Koha / Schema / Result / Z3950server.pm
1 use utf8;
2 package Koha::Schema::Result::Z3950server;
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::Z3950server
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<z3950servers>
19
20 =cut
21
22 __PACKAGE__->table("z3950servers");
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 host
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 255
37
38 =head2 port
39
40   data_type: 'integer'
41   is_nullable: 1
42
43 =head2 db
44
45   data_type: 'varchar'
46   is_nullable: 1
47   size: 255
48
49 =head2 userid
50
51   data_type: 'varchar'
52   is_nullable: 1
53   size: 255
54
55 =head2 password
56
57   data_type: 'varchar'
58   is_nullable: 1
59   size: 255
60
61 =head2 servername
62
63   data_type: 'longtext'
64   is_nullable: 0
65
66 =head2 checked
67
68   data_type: 'smallint'
69   is_nullable: 1
70
71 =head2 rank
72
73   data_type: 'integer'
74   is_nullable: 1
75
76 =head2 syntax
77
78   data_type: 'varchar'
79   is_nullable: 1
80   size: 80
81
82 =head2 timeout
83
84   data_type: 'integer'
85   default_value: 0
86   is_nullable: 0
87
88 =head2 servertype
89
90   data_type: 'enum'
91   default_value: 'zed'
92   extra: {list => ["zed","sru"]}
93   is_nullable: 0
94
95 =head2 encoding
96
97   data_type: 'mediumtext'
98   is_nullable: 1
99
100 =head2 recordtype
101
102   data_type: 'enum'
103   default_value: 'biblio'
104   extra: {list => ["authority","biblio"]}
105   is_nullable: 0
106
107 =head2 sru_options
108
109   data_type: 'varchar'
110   is_nullable: 1
111   size: 255
112
113 =head2 sru_fields
114
115   data_type: 'longtext'
116   is_nullable: 1
117
118 =head2 add_xslt
119
120   data_type: 'longtext'
121   is_nullable: 1
122
123 =head2 attributes
124
125   data_type: 'varchar'
126   is_nullable: 1
127   size: 255
128
129 =cut
130
131 __PACKAGE__->add_columns(
132   "id",
133   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
134   "host",
135   { data_type => "varchar", is_nullable => 1, size => 255 },
136   "port",
137   { data_type => "integer", is_nullable => 1 },
138   "db",
139   { data_type => "varchar", is_nullable => 1, size => 255 },
140   "userid",
141   { data_type => "varchar", is_nullable => 1, size => 255 },
142   "password",
143   { data_type => "varchar", is_nullable => 1, size => 255 },
144   "servername",
145   { data_type => "longtext", is_nullable => 0 },
146   "checked",
147   { data_type => "smallint", is_nullable => 1 },
148   "rank",
149   { data_type => "integer", is_nullable => 1 },
150   "syntax",
151   { data_type => "varchar", is_nullable => 1, size => 80 },
152   "timeout",
153   { data_type => "integer", default_value => 0, is_nullable => 0 },
154   "servertype",
155   {
156     data_type => "enum",
157     default_value => "zed",
158     extra => { list => ["zed", "sru"] },
159     is_nullable => 0,
160   },
161   "encoding",
162   { data_type => "mediumtext", is_nullable => 1 },
163   "recordtype",
164   {
165     data_type => "enum",
166     default_value => "biblio",
167     extra => { list => ["authority", "biblio"] },
168     is_nullable => 0,
169   },
170   "sru_options",
171   { data_type => "varchar", is_nullable => 1, size => 255 },
172   "sru_fields",
173   { data_type => "longtext", is_nullable => 1 },
174   "add_xslt",
175   { data_type => "longtext", is_nullable => 1 },
176   "attributes",
177   { data_type => "varchar", is_nullable => 1, size => 255 },
178 );
179
180 =head1 PRIMARY KEY
181
182 =over 4
183
184 =item * L</id>
185
186 =back
187
188 =cut
189
190 __PACKAGE__->set_primary_key("id");
191
192
193 # Created by DBIx::Class::Schema::Loader v0.07047 @ 2018-02-20 01:04:22
194 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YUp6TnDwq7/oLaSmSdVE3A
195
196 sub koha_object_class {
197     'Koha::Z3950Server';
198 }
199 sub koha_objects_class {
200     'Koha::Z3950Servers';
201 }
202
203 1;