fix foreign key name in blast_db_blast_db_group table schema.
[cxgn-corelibs.git] / lib / SGN / Schema / UnigeneConsensi.pm
blob66e89cef666394837e3e887604220bc701617a99
1 package SGN::Schema::UnigeneConsensi;
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::UnigeneConsensi
16 =cut
18 __PACKAGE__->table("unigene_consensi");
20 =head1 ACCESSORS
22 =head2 consensi_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'unigene_consensi_consensi_id_seq'
29 =head2 seq
31 data_type: 'text'
32 is_nullable: 1
34 =head2 qscores
36 data_type: 'text'
37 is_nullable: 1
39 =cut
41 __PACKAGE__->add_columns(
42 "consensi_id",
44 data_type => "integer",
45 is_auto_increment => 1,
46 is_nullable => 0,
47 sequence => "unigene_consensi_consensi_id_seq",
49 "seq",
50 { data_type => "text", is_nullable => 1 },
51 "qscores",
52 { data_type => "text", is_nullable => 1 },
54 __PACKAGE__->set_primary_key("consensi_id");
56 =head1 RELATIONS
58 =head2 unigenes
60 Type: has_many
62 Related object: L<SGN::Schema::Unigene>
64 =cut
66 __PACKAGE__->has_many(
67 "unigenes",
68 "SGN::Schema::Unigene",
69 { "foreign.consensi_id" => "self.consensi_id" },
70 { cascade_copy => 0, cascade_delete => 0 },
74 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
75 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uXwmz0s7eNMeVns4gDuI6Q
78 # You can replace this text with custom content, and it will be preserved on regeneration