1 package SGN
::Schema
::Interpro
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("interpro");
10 __PACKAGE__
->add_columns(
13 data_type
=> "bigint",
14 default_value
=> "nextval('interpro_interpro_id_seq'::regclass)",
15 is_auto_increment
=> 1,
21 data_type
=> "character varying",
22 default_value
=> undef,
29 default_value
=> undef,
33 "description_fulltext",
35 data_type
=> "tsvector",
36 default_value
=> undef,
41 __PACKAGE__
->set_primary_key("interpro_id");
42 __PACKAGE__
->add_unique_constraint("interpro_interpro_accession_key", ["interpro_accession"]);
43 __PACKAGE__
->has_many(
45 "SGN::Schema::InterproGo",
46 { "foreign.interpro_accession" => "self.interpro_accession" },
50 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
51 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eOKpm49x0BGacxaavYLf2Q
54 # You can replace this text with custom content, and it will be preserved on regeneration