2 package Koha
::Schema
::Result
::City
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::City
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<cities>
22 __PACKAGE__
->table("cities");
35 default_value: (empty string)
59 __PACKAGE__
->add_columns(
61 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
63 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 100 },
65 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
67 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
69 { data_type
=> "varchar", is_nullable
=> 1, size
=> 20 },
82 __PACKAGE__
->set_primary_key("cityid");
85 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
86 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zEjfS65sp13yF7dH8/ojZQ
88 sub koha_objects_class
{