1 package SGN
::Schema
::Cd
;
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("cds");
27 sequence: 'cds_cds_id_seq'
60 =head2 forward_reverse
98 =head2 protein_feature_id
105 __PACKAGE__
->add_columns(
108 data_type
=> "bigint",
109 is_auto_increment
=> 1,
111 sequence
=> "cds_cds_id_seq",
114 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
116 { data_type
=> "text", is_nullable
=> 1 },
118 { data_type
=> "text", is_nullable
=> 1 },
120 { data_type
=> "text", is_nullable
=> 1 },
122 { data_type
=> "integer", is_nullable
=> 1 },
124 { data_type
=> "integer", is_nullable
=> 1 },
126 { data_type
=> "char", is_nullable
=> 1, size
=> 1 },
128 { data_type
=> "bigint", is_nullable
=> 1 },
130 { data_type
=> "integer", is_nullable
=> 1 },
132 { data_type
=> "varchar", is_nullable
=> 1, size
=> 20 },
134 { data_type
=> "varchar", is_nullable
=> 1, size
=> 2 },
136 { data_type
=> "boolean", is_nullable
=> 1 },
138 { data_type
=> "text", is_nullable
=> 1 },
139 "protein_feature_id",
140 { data_type
=> "bigint", is_nullable
=> 1 },
142 __PACKAGE__
->set_primary_key("cds_id");
150 Related object: L<SGN::Schema::Unigene>
154 __PACKAGE__
->belongs_to(
156 "SGN::Schema::Unigene",
157 { unigene_id
=> "unigene_id" },
161 on_delete
=> "CASCADE",
162 on_update
=> "CASCADE",
166 =head2 domain_matches
170 Related object: L<SGN::Schema::DomainMatch>
174 __PACKAGE__
->has_many(
176 "SGN::Schema::DomainMatch",
177 { "foreign.cds_id" => "self.cds_id" },
178 { cascade_copy
=> 0, cascade_delete
=> 0 },
182 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
183 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U8lI8JoWcDtZrDhqgQ/yLg
186 # You can replace this text with custom content, and it will be preserved on regeneration