fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / CosiiOrtholog.pm
blob93c13796f9ec60df8e420d3ef3eafe1a76ad0009
1 package SGN::Schema::CosiiOrtholog;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("cosii_ortholog");
10 __PACKAGE__->add_columns(
11 "cosii_unigene_id",
13 data_type => "bigint",
14 default_value => "nextval('cosii_ortholog_cosii_unigene_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 8,
19 "marker_id",
21 data_type => "bigint",
22 default_value => undef,
23 is_foreign_key => 1,
24 is_nullable => 1,
25 size => 8,
27 "unigene_id",
28 { data_type => "integer", default_value => undef, is_nullable => 1, size => 4 },
29 "copies",
31 data_type => "character varying",
32 default_value => undef,
33 is_nullable => 1,
34 size => 1,
36 "database_name",
38 data_type => "character varying",
39 default_value => undef,
40 is_nullable => 1,
41 size => 11,
43 "sequence_name",
45 data_type => "character varying",
46 default_value => undef,
47 is_nullable => 1,
48 size => 255,
50 "edited_sequence_id",
51 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
52 "peptide_sequence_id",
53 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
54 "introns",
56 data_type => "text",
57 default_value => undef,
58 is_nullable => 1,
59 size => undef,
62 __PACKAGE__->set_primary_key("cosii_unigene_id");
63 __PACKAGE__->belongs_to(
64 "marker",
65 "SGN::Schema::Marker",
66 { marker_id => "marker_id" },
67 { join_type => "LEFT" },
71 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
72 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3+cYN1Wvi8E9pql7xqxyQQ
75 # You can replace this text with custom content, and it will be preserved on regeneration