2 package SGN
::Schema
::BlastDbBlastDbGroup
;
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,
17 sequence
=> "blast_db_blast_db_group_blast_db_blast_db_group_id_seq"
20 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
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(
30 "SGN::Schema::BlastDb",
31 { blast_db_id
=> "blast_db_id" },
38 __PACKAGE__
->belongs_to(
40 "SGN::Schema::BlastDbGroup",
41 { blast_db_group_id
=> "blast_db_group_id" },