Bug 12601: (RM followup) DBIx updates
[koha.git] / Koha / Schema / Result / Ethnicity.pm
1 use utf8;
2 package Koha::Schema::Result::Ethnicity;
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::Ethnicity
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<ethnicity>
19
20 =cut
21
22 __PACKAGE__->table("ethnicity");
23
24 =head1 ACCESSORS
25
26 =head2 code
27
28   data_type: 'varchar'
29   default_value: (empty string)
30   is_nullable: 0
31   size: 10
32
33 =head2 name
34
35   data_type: 'varchar'
36   is_nullable: 1
37   size: 255
38
39 =cut
40
41 __PACKAGE__->add_columns(
42   "code",
43   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
44   "name",
45   { data_type => "varchar", is_nullable => 1, size => 255 },
46 );
47
48 =head1 PRIMARY KEY
49
50 =over 4
51
52 =item * L</code>
53
54 =back
55
56 =cut
57
58 __PACKAGE__->set_primary_key("code");
59
60
61 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
62 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HPwxTCHuS0ZYGSznK4laEA
63
64
65 # You can replace this text with custom content, and it will be preserved on regeneration
66 1;