1 package SGN
::Schema
::MarkerLocation
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
14 SGN::Schema::MarkerLocation
18 __PACKAGE__
->table("marker_location");
27 sequence: 'marker_location_location_id_seq'
73 __PACKAGE__
->add_columns(
76 data_type
=> "integer",
77 is_auto_increment
=> 1,
79 sequence
=> "marker_location_location_id_seq",
82 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
84 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
86 { data_type
=> "numeric", is_nullable
=> 0, size
=> [9, 6] },
88 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
90 { data_type
=> "char", is_nullable
=> 1, size
=> 1 },
92 { data_type
=> "numeric", is_nullable
=> 1, size
=> [8, 5] },
94 { data_type
=> "numeric", is_nullable
=> 1, size
=> [8, 5] },
96 __PACKAGE__
->set_primary_key("location_id");
100 =head2 linkage_group_north_locations
104 Related object: L<SGN::Schema::LinkageGroup>
108 __PACKAGE__
->has_many(
109 "linkage_group_north_locations",
110 "SGN::Schema::LinkageGroup",
111 { "foreign.north_location_id" => "self.location_id" },
112 { cascade_copy
=> 0, cascade_delete
=> 0 },
115 =head2 linkage_group_south_locations
119 Related object: L<SGN::Schema::LinkageGroup>
123 __PACKAGE__
->has_many(
124 "linkage_group_south_locations",
125 "SGN::Schema::LinkageGroup",
126 { "foreign.south_location_id" => "self.location_id" },
127 { cascade_copy
=> 0, cascade_delete
=> 0 },
130 =head2 marker_experiments
134 Related object: L<SGN::Schema::MarkerExperiment>
138 __PACKAGE__
->has_many(
139 "marker_experiments",
140 "SGN::Schema::MarkerExperiment",
141 { "foreign.location_id" => "self.location_id" },
142 { cascade_copy
=> 0, cascade_delete
=> 0 },
149 Related object: L<SGN::Schema::LinkageGroup>
153 __PACKAGE__
->belongs_to(
155 "SGN::Schema::LinkageGroup",
156 { lg_id
=> "lg_id" },
157 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
164 Related object: L<SGN::Schema::MarkerConfidence>
168 __PACKAGE__
->belongs_to(
170 "SGN::Schema::MarkerConfidence",
171 { confidence_id
=> "confidence_id" },
172 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
179 Related object: L<SGN::Schema::MapVersion>
183 __PACKAGE__
->belongs_to(
185 "SGN::Schema::MapVersion",
186 { map_version_id
=> "map_version_id" },
187 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
191 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
192 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2P4PX4+ciHl38fLPp715fQ
195 # You can replace this text with custom content, and it will be preserved on regeneration