Bug 8798: (follow-up) update the DBIC schema class files
[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 host
27
28   data_type: 'varchar'
29   is_nullable: 1
30   size: 255
31
32 =head2 port
33
34   data_type: 'integer'
35   is_nullable: 1
36
37 =head2 db
38
39   data_type: 'varchar'
40   is_nullable: 1
41   size: 255
42
43 =head2 userid
44
45   data_type: 'varchar'
46   is_nullable: 1
47   size: 255
48
49 =head2 password
50
51   data_type: 'varchar'
52   is_nullable: 1
53   size: 255
54
55 =head2 name
56
57   data_type: 'mediumtext'
58   is_nullable: 1
59
60 =head2 id
61
62   data_type: 'integer'
63   is_auto_increment: 1
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 icon
89
90   data_type: 'text'
91   is_nullable: 1
92
93 =head2 position
94
95   data_type: 'enum'
96   default_value: 'primary'
97   extra: {list => ["primary","secondary"]}
98   is_nullable: 0
99
100 =head2 type
101
102   data_type: 'enum'
103   default_value: 'zed'
104   extra: {list => ["zed","opensearch"]}
105   is_nullable: 0
106
107 =head2 encoding
108
109   data_type: 'text'
110   is_nullable: 1
111
112 =head2 description
113
114   data_type: 'text'
115   is_nullable: 0
116
117 =head2 recordtype
118
119   data_type: 'varchar'
120   default_value: 'biblio'
121   is_nullable: 0
122   size: 45
123
124 =cut
125
126 __PACKAGE__->add_columns(
127   "host",
128   { data_type => "varchar", is_nullable => 1, size => 255 },
129   "port",
130   { data_type => "integer", is_nullable => 1 },
131   "db",
132   { data_type => "varchar", is_nullable => 1, size => 255 },
133   "userid",
134   { data_type => "varchar", is_nullable => 1, size => 255 },
135   "password",
136   { data_type => "varchar", is_nullable => 1, size => 255 },
137   "name",
138   { data_type => "mediumtext", is_nullable => 1 },
139   "id",
140   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
141   "checked",
142   { data_type => "smallint", is_nullable => 1 },
143   "rank",
144   { data_type => "integer", is_nullable => 1 },
145   "syntax",
146   { data_type => "varchar", is_nullable => 1, size => 80 },
147   "timeout",
148   { data_type => "integer", default_value => 0, is_nullable => 0 },
149   "icon",
150   { data_type => "text", is_nullable => 1 },
151   "position",
152   {
153     data_type => "enum",
154     default_value => "primary",
155     extra => { list => ["primary", "secondary"] },
156     is_nullable => 0,
157   },
158   "type",
159   {
160     data_type => "enum",
161     default_value => "zed",
162     extra => { list => ["zed", "opensearch"] },
163     is_nullable => 0,
164   },
165   "encoding",
166   { data_type => "text", is_nullable => 1 },
167   "description",
168   { data_type => "text", is_nullable => 0 },
169   "recordtype",
170   {
171     data_type => "varchar",
172     default_value => "biblio",
173     is_nullable => 0,
174     size => 45,
175   },
176 );
177
178 =head1 PRIMARY KEY
179
180 =over 4
181
182 =item * L</id>
183
184 =back
185
186 =cut
187
188 __PACKAGE__->set_primary_key("id");
189
190
191 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
192 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j/AgGQDMyR5wm1wooSYYDw
193
194
195 # You can replace this text with custom content, and it will be preserved on regeneration
196 1;