1 package Koha::Schema::Result::Z3950server;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::Z3950server
18 __PACKAGE__->table("z3950servers");
53 data_type: 'mediumtext'
92 default_value: 'primary'
93 extra: {list => ["primary","secondary",""]}
100 extra: {list => ["zed","opensearch"]}
115 __PACKAGE__->add_columns(
117 { data_type => "varchar", is_nullable => 1, size => 255 },
119 { data_type => "integer", is_nullable => 1 },
121 { data_type => "varchar", is_nullable => 1, size => 255 },
123 { data_type => "varchar", is_nullable => 1, size => 255 },
125 { data_type => "varchar", is_nullable => 1, size => 255 },
127 { data_type => "mediumtext", is_nullable => 1 },
129 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
131 { data_type => "smallint", is_nullable => 1 },
133 { data_type => "integer", is_nullable => 1 },
135 { data_type => "varchar", is_nullable => 1, size => 80 },
137 { data_type => "integer", default_value => 0, is_nullable => 0 },
139 { data_type => "text", is_nullable => 1 },
143 default_value => "primary",
144 extra => { list => ["primary", "secondary", ""] },
150 default_value => "zed",
151 extra => { list => ["zed", "opensearch"] },
155 { data_type => "text", is_nullable => 1 },
157 { data_type => "text", is_nullable => 0 },
159 __PACKAGE__->set_primary_key("id");
162 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
163 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3D8BWcZZVQlK8zrPw4GTtQ
166 # You can replace this text with custom content, and it will be preserved on regeneration