1 package SGN
::Schema
::Map
;
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("map");
27 sequence: 'map_map_id_seq'
78 =head2 parent1_stock_id
83 =head2 parent2_stock_id
88 =head2 population_stock_id
95 __PACKAGE__
->add_columns(
98 data_type
=> "integer",
99 is_auto_increment
=> 1,
101 sequence
=> "map_map_id_seq",
104 { data_type
=> "text", is_nullable
=> 0 },
106 { data_type
=> "text", is_nullable
=> 1 },
108 { data_type
=> "text", is_nullable
=> 1 },
110 { data_type
=> "text", is_nullable
=> 1 },
112 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
114 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
116 { data_type
=> "text", default_value
=> "cM", is_nullable
=> 1 },
118 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
120 { data_type
=> "integer", is_nullable
=> 1 },
122 { data_type
=> "bigint", is_nullable
=> 1 },
124 { data_type
=> "bigint", is_nullable
=> 1 },
125 "population_stock_id",
126 { data_type
=> "bigint", is_nullable
=> 1 },
128 __PACKAGE__
->set_primary_key("map_id");
136 Related object: L<SGN::Schema::Accession>
140 __PACKAGE__
->belongs_to(
142 "SGN::Schema::Accession",
143 { accession_id
=> "ancestor" },
147 on_delete
=> "CASCADE",
148 on_update
=> "CASCADE",
156 Related object: L<SGN::Schema::Accession>
160 __PACKAGE__
->belongs_to(
162 "SGN::Schema::Accession",
163 { accession_id
=> "parent_2" },
167 on_delete
=> "CASCADE",
168 on_update
=> "CASCADE",
176 Related object: L<SGN::Schema::Accession>
180 __PACKAGE__
->belongs_to(
182 "SGN::Schema::Accession",
183 { accession_id
=> "parent_1" },
187 on_delete
=> "CASCADE",
188 on_update
=> "CASCADE",
196 Related object: L<SGN::Schema::MapVersion>
200 __PACKAGE__
->has_many(
202 "SGN::Schema::MapVersion",
203 { "foreign.map_id" => "self.map_id" },
204 { cascade_copy
=> 0, cascade_delete
=> 0 },
207 =head2 pcr_experiments
211 Related object: L<SGN::Schema::PcrExperiment>
215 __PACKAGE__
->has_many(
217 "SGN::Schema::PcrExperiment",
218 { "foreign.map_id" => "self.map_id" },
219 { cascade_copy
=> 0, cascade_delete
=> 0 },
223 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
224 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AYZYWOx5WJ4XydpNX0pWIw
227 # You can replace this text with custom content, and it will be preserved on regeneration