View | Details | Raw Unified | Return to bug 6536
Collapse All | Expand All

(-)a/Koha/Schema/Result/Z3950server.pm (-48 / +41 lines)
Lines 23-28 __PACKAGE__->table("z3950servers"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
26
=head2 host
32
=head2 host
27
33
28
  data_type: 'varchar'
34
  data_type: 'varchar'
Lines 52-66 __PACKAGE__->table("z3950servers"); Link Here
52
  is_nullable: 1
58
  is_nullable: 1
53
  size: 255
59
  size: 255
54
60
55
=head2 name
61
=head2 servername
56
62
57
  data_type: 'mediumtext'
63
  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
64
  is_nullable: 0
65
65
66
=head2 checked
66
=head2 checked
Lines 85-107 __PACKAGE__->table("z3950servers"); Link Here
85
  default_value: 0
85
  default_value: 0
86
  is_nullable: 0
86
  is_nullable: 0
87
87
88
=head2 icon
88
=head2 servertype
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
89
102
  data_type: 'enum'
90
  data_type: 'enum'
103
  default_value: 'zed'
91
  default_value: 'zed'
104
  extra: {list => ["zed","opensearch"]}
92
  extra: {list => ["zed","sru"]}
105
  is_nullable: 0
93
  is_nullable: 0
106
94
107
=head2 encoding
95
=head2 encoding
Lines 109-129 __PACKAGE__->table("z3950servers"); Link Here
109
  data_type: 'text'
97
  data_type: 'text'
110
  is_nullable: 1
98
  is_nullable: 1
111
99
112
=head2 description
100
=head2 recordtype
113
101
114
  data_type: 'text'
102
  data_type: 'enum'
103
  default_value: 'biblio'
104
  extra: {list => ["authority","biblio"]}
115
  is_nullable: 0
105
  is_nullable: 0
116
106
117
=head2 recordtype
107
=head2 sru_options
118
108
119
  data_type: 'varchar'
109
  data_type: 'varchar'
120
  default_value: 'biblio'
110
  is_nullable: 1
121
  is_nullable: 0
111
  size: 255
122
  size: 45
112
113
=head2 sru_fields
114
115
  data_type: 'mediumtext'
116
  is_nullable: 1
117
118
=head2 add_xslt
119
120
  data_type: 'mediumtext'
121
  is_nullable: 1
123
122
124
=cut
123
=cut
125
124
126
__PACKAGE__->add_columns(
125
__PACKAGE__->add_columns(
126
  "id",
127
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
127
  "host",
128
  "host",
128
  { data_type => "varchar", is_nullable => 1, size => 255 },
129
  { data_type => "varchar", is_nullable => 1, size => 255 },
129
  "port",
130
  "port",
Lines 134-143 __PACKAGE__->add_columns( Link Here
134
  { data_type => "varchar", is_nullable => 1, size => 255 },
135
  { data_type => "varchar", is_nullable => 1, size => 255 },
135
  "password",
136
  "password",
136
  { data_type => "varchar", is_nullable => 1, size => 255 },
137
  { data_type => "varchar", is_nullable => 1, size => 255 },
137
  "name",
138
  "servername",
138
  { data_type => "mediumtext", is_nullable => 1 },
139
  { data_type => "mediumtext", is_nullable => 0 },
139
  "id",
140
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
141
  "checked",
140
  "checked",
142
  { data_type => "smallint", is_nullable => 1 },
141
  { data_type => "smallint", is_nullable => 1 },
143
  "rank",
142
  "rank",
Lines 146-178 __PACKAGE__->add_columns( Link Here
146
  { data_type => "varchar", is_nullable => 1, size => 80 },
145
  { data_type => "varchar", is_nullable => 1, size => 80 },
147
  "timeout",
146
  "timeout",
148
  { data_type => "integer", default_value => 0, is_nullable => 0 },
147
  { data_type => "integer", default_value => 0, is_nullable => 0 },
149
  "icon",
148
  "servertype",
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
  {
149
  {
160
    data_type => "enum",
150
    data_type => "enum",
161
    default_value => "zed",
151
    default_value => "zed",
162
    extra => { list => ["zed", "opensearch"] },
152
    extra => { list => ["zed", "sru"] },
163
    is_nullable => 0,
153
    is_nullable => 0,
164
  },
154
  },
165
  "encoding",
155
  "encoding",
166
  { data_type => "text", is_nullable => 1 },
156
  { data_type => "text", is_nullable => 1 },
167
  "description",
168
  { data_type => "text", is_nullable => 0 },
169
  "recordtype",
157
  "recordtype",
170
  {
158
  {
171
    data_type => "varchar",
159
    data_type => "enum",
172
    default_value => "biblio",
160
    default_value => "biblio",
161
    extra => { list => ["authority", "biblio"] },
173
    is_nullable => 0,
162
    is_nullable => 0,
174
    size => 45,
175
  },
163
  },
164
  "sru_options",
165
  { data_type => "varchar", is_nullable => 1, size => 255 },
166
  "sru_fields",
167
  { data_type => "mediumtext", is_nullable => 1 },
168
  "add_xslt",
169
  { data_type => "mediumtext", is_nullable => 1 },
176
);
170
);
177
171
178
=head1 PRIMARY KEY
172
=head1 PRIMARY KEY
Lines 192-196 __PACKAGE__->set_primary_key("id"); Link Here
192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BA+II2AVWOTLfgbko1GAOA
186
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BA+II2AVWOTLfgbko1GAOA
193
187
194
188
195
# You can replace this text with custom content, and it will be preserved on regeneration
189
# You can replace this text with custom code or comments, and it will be preserved on regeneration
196
1;
190
1;
197
- 

Return to bug 6536