1 package SGN
::Schema
::Interpro
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
18 __PACKAGE__
->table("interpro");
27 sequence: 'interpro_interpro_id_seq'
29 =head2 interpro_accession
40 =head2 description_fulltext
47 __PACKAGE__
->add_columns(
50 data_type
=> "bigint",
51 is_auto_increment
=> 1,
53 sequence
=> "interpro_interpro_id_seq",
56 { data_type
=> "varchar", is_nullable
=> 1, size
=> 20 },
58 { data_type
=> "text", is_nullable
=> 1 },
59 "description_fulltext",
60 { data_type
=> "tsvector", is_nullable
=> 1 },
62 __PACKAGE__
->set_primary_key("interpro_id");
63 __PACKAGE__
->add_unique_constraint("interpro_interpro_accession_key", ["interpro_accession"]);
71 Related object: L<SGN::Schema::InterproGo>
75 __PACKAGE__
->has_many(
77 "SGN::Schema::InterproGo",
78 { "foreign.interpro_accession" => "self.interpro_accession" },
79 { cascade_copy
=> 0, cascade_delete
=> 0 },
83 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
84 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:goZBzUs2dp7PRwn/DDOY0A
87 # You can replace this text with custom content, and it will be preserved on regeneration