Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / Organismprop.pm
blob31bf77a33d61ae5d4fc34cfa5e56a77477d621fa
1 package SGN::Schema::Organismprop;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("organismprop");
10 __PACKAGE__->add_columns(
11 "organismprop_id",
13 data_type => "integer",
14 default_value => "nextval('organismprop_organismprop_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "common_name_id",
21 data_type => "integer",
22 default_value => undef,
23 is_foreign_key => 1,
24 is_nullable => 0,
25 size => 4,
27 "type_id",
28 { data_type => "integer", default_value => undef, is_nullable => 0, size => 4 },
29 "value",
31 data_type => "character varying",
32 default_value => undef,
33 is_nullable => 0,
34 size => 32,
36 "rank",
37 { data_type => "integer", default_value => 0, is_nullable => 0, size => 4 },
39 __PACKAGE__->set_primary_key("organismprop_id");
40 __PACKAGE__->belongs_to(
41 "common_name",
42 "SGN::Schema::CommonName",
43 { common_name_id => "common_name_id" },
47 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
48 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:t4Tyz3FkNnRzTzRyGCSMuA
51 # You can replace this text with custom content, and it will be preserved on regeneration