Bug 20434: Update UNIMARC framework - auth (SAUTTIT)
[koha.git] / Koha / Schema / Result / City.pm
blob9f9ce6bf812bb0888efa9d7cc6572391833f96cf
1 use utf8;
2 package Koha::Schema::Result::City;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::City
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<cities>
20 =cut
22 __PACKAGE__->table("cities");
24 =head1 ACCESSORS
26 =head2 cityid
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 city_name
34 data_type: 'varchar'
35 default_value: (empty string)
36 is_nullable: 0
37 size: 100
39 =head2 city_state
41 data_type: 'varchar'
42 is_nullable: 1
43 size: 100
45 =head2 city_country
47 data_type: 'varchar'
48 is_nullable: 1
49 size: 100
51 =head2 city_zipcode
53 data_type: 'varchar'
54 is_nullable: 1
55 size: 20
57 =cut
59 __PACKAGE__->add_columns(
60 "cityid",
61 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
62 "city_name",
63 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
64 "city_state",
65 { data_type => "varchar", is_nullable => 1, size => 100 },
66 "city_country",
67 { data_type => "varchar", is_nullable => 1, size => 100 },
68 "city_zipcode",
69 { data_type => "varchar", is_nullable => 1, size => 20 },
72 =head1 PRIMARY KEY
74 =over 4
76 =item * L</cityid>
78 =back
80 =cut
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
89 # You can replace this text with custom content, and it will be preserved on regeneration