Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / Author.pm
blob1353bf77be37b0fea53c214e0b27bafa3724bc7e
1 package SGN::Schema::Author;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6 use strict;
7 use warnings;
9 use base 'DBIx::Class::Core';
12 =head1 NAME
14 SGN::Schema::Author
16 =cut
18 __PACKAGE__->table("authors");
20 =head1 ACCESSORS
22 =head2 author_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'authors_author_id_seq'
29 =head2 name
31 data_type: 'text'
32 is_nullable: 1
34 =head2 institution
36 data_type: 'text'
37 is_nullable: 1
39 =cut
41 __PACKAGE__->add_columns(
42 "author_id",
44 data_type => "integer",
45 is_auto_increment => 1,
46 is_nullable => 0,
47 sequence => "authors_author_id_seq",
49 "name",
50 { data_type => "text", is_nullable => 1 },
51 "institution",
52 { data_type => "text", is_nullable => 1 },
54 __PACKAGE__->set_primary_key("author_id");
57 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
58 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fA2/6P0m0s2ItG4IkmiJ9g
61 # You can replace this text with custom content, and it will be preserved on regeneration