1 package SGN
::Schema
::MapVersion
;
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::MapVersion
18 __PACKAGE__
->table("map_version");
27 sequence: 'map_version_map_version_id_seq'
40 =head2 current_version
45 =head2 default_threshold
68 __PACKAGE__
->add_columns(
71 data_type
=> "integer",
72 is_auto_increment
=> 1,
74 sequence
=> "map_version_map_version_id_seq",
77 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
79 { data_type
=> "date", is_nullable
=> 1 },
81 { data_type
=> "boolean", is_nullable
=> 1 },
83 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
85 { data_type
=> "boolean", is_nullable
=> 1 },
87 { data_type
=> "boolean", is_nullable
=> 1 },
89 { data_type
=> "integer", is_nullable
=> 1 },
91 __PACKAGE__
->set_primary_key("map_version_id");
99 Related object: L<SGN::Schema::LinkageGroup>
103 __PACKAGE__
->has_many(
105 "SGN::Schema::LinkageGroup",
106 { "foreign.map_version_id" => "self.map_version_id" },
107 { cascade_copy
=> 0, cascade_delete
=> 0 },
114 Related object: L<SGN::Schema::Map>
118 __PACKAGE__
->belongs_to(
121 { map_id
=> "map_id" },
125 on_delete
=> "CASCADE",
126 on_update
=> "CASCADE",
130 =head2 default_threshold
134 Related object: L<SGN::Schema::DeprecatedMarkerConfidence>
138 __PACKAGE__
->belongs_to(
140 "SGN::Schema::DeprecatedMarkerConfidence",
141 { confidence_id
=> "default_threshold" },
145 on_delete
=> "CASCADE",
146 on_update
=> "CASCADE",
150 =head2 marker_locations
154 Related object: L<SGN::Schema::MarkerLocation>
158 __PACKAGE__
->has_many(
160 "SGN::Schema::MarkerLocation",
161 { "foreign.map_version_id" => "self.map_version_id" },
162 { cascade_copy
=> 0, cascade_delete
=> 0 },
165 =head2 temp_map_correspondences
169 Related object: L<SGN::Schema::TempMapCorrespondence>
173 __PACKAGE__
->has_many(
174 "temp_map_correspondences",
175 "SGN::Schema::TempMapCorrespondence",
176 { "foreign.map_version_id" => "self.map_version_id" },
177 { cascade_copy
=> 0, cascade_delete
=> 0 },
181 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
182 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8cm9eQqw3sOvPHi6hveD2A
185 # You can replace this text with custom content, and it will be preserved on regeneration