1 package SGN
::Schema
::InterproGo
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
14 SGN::Schema::InterproGo
18 __PACKAGE__
->table("interpro_go");
27 sequence: 'interpro_go_interpro_go_id_seq'
29 =head2 interpro_accession
45 __PACKAGE__
->add_columns(
48 data_type
=> "bigint",
49 is_auto_increment
=> 1,
51 sequence
=> "interpro_go_interpro_go_id_seq",
54 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 1, size
=> 20 },
56 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 1, size
=> 20 },
58 __PACKAGE__
->set_primary_key("interpro_go_id");
66 Related object: L<SGN::Schema::Go>
70 __PACKAGE__
->belongs_to(
73 { go_accession
=> "go_accession" },
77 on_delete
=> "CASCADE",
78 on_update
=> "CASCADE",
82 =head2 interpro_accession
86 Related object: L<SGN::Schema::Interpro>
90 __PACKAGE__
->belongs_to(
92 "SGN::Schema::Interpro",
93 { interpro_accession
=> "interpro_accession" },
97 on_delete
=> "CASCADE",
98 on_update
=> "CASCADE",
103 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xsDCm4apdwyu7QR/kIlmJg
107 # You can replace this text with custom content, and it will be preserved on regeneration