fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / UnigeneConsensi.pm
blobf8647aca96ce8ff1fd503823eead099686ea37fc
1 package SGN::Schema::UnigeneConsensi;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("unigene_consensi");
10 __PACKAGE__->add_columns(
11 "consensi_id",
13 data_type => "integer",
14 default_value => "nextval('unigene_consensi_consensi_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "seq",
21 data_type => "text",
22 default_value => undef,
23 is_nullable => 1,
24 size => undef,
26 "qscores",
28 data_type => "text",
29 default_value => undef,
30 is_nullable => 1,
31 size => undef,
34 __PACKAGE__->set_primary_key("consensi_id");
35 __PACKAGE__->has_many(
36 "unigenes",
37 "SGN::Schema::Unigene",
38 { "foreign.consensi_id" => "self.consensi_id" },
42 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
43 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:30PBjtpFcTdZHZq9zZbYVw
46 # You can replace this text with custom content, and it will be preserved on regeneration