1 package SGN
::Schema
::Go
;
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("go");
27 sequence: 'go_go_id_seq'
40 =head2 description_fulltext
47 __PACKAGE__
->add_columns(
50 data_type
=> "bigint",
51 is_auto_increment
=> 1,
53 sequence
=> "go_go_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("go_id");
63 __PACKAGE__
->add_unique_constraint("go_go_accession_key", ["go_accession"]);
71 Related object: L<SGN::Schema::InterproGo>
75 __PACKAGE__
->has_many(
77 "SGN::Schema::InterproGo",
78 { "foreign.go_accession" => "self.go_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:XuyLAWBLxoap9z3FlcVShQ
87 # You can replace this text with custom content, and it will be preserved on regeneration