Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / BlastDbBlastDbGroup.pm
bloba5c93a0c74b1ab074dfff11669353b16592fe038
2 package SGN::Schema::BlastDbBlastDbGroup;
4 use strict;
5 use warnings;
7 use base 'DBIx::Class::Core';
9 __PACKAGE__->table("blast_db_blast_db_group");
11 __PACKAGE__->add_columns(
12 "blast_db_blast_db_group_id",
14 data_type => "integer",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 sequence => "blast_db_blast_db_group_blast_db_blast_db_group_id_seq"
19 "blast_db_id",
20 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
21 "blast_db_group_id",
22 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
26 __PACKAGE__->set_primary_key("blast_db_blast_db_group_id");
28 __PACKAGE__->belongs_to(
29 "blast_db",
30 "SGN::Schema::BlastDb",
31 { blast_db_id => "blast_db_id" },
33 #is_deferrable => 1,
34 join_type => "LEFT",
38 __PACKAGE__->belongs_to(
39 "blast_db_group",
40 "SGN::Schema::BlastDbGroup",
41 { blast_db_group_id => "blast_db_group_id" },
42 { is_deferrable => 1,
43 join_type => "LEFT",