1 package SGN
::Schema
::MarkerLocation
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("marker_location");
10 __PACKAGE__
->add_columns(
13 data_type
=> "integer",
14 default_value
=> "nextval('marker_location_location_id_seq'::regclass)",
15 is_auto_increment
=> 1,
21 data_type
=> "integer",
22 default_value
=> undef,
29 data_type
=> "integer",
30 default_value
=> undef,
37 data_type
=> "numeric",
38 default_value
=> undef,
44 data_type
=> "integer",
45 default_value
=> undef,
52 data_type
=> "character",
53 default_value
=> undef,
58 __PACKAGE__
->set_primary_key("location_id");
59 __PACKAGE__
->has_many(
60 "linkage_group_north_location_ids",
61 "SGN::Schema::LinkageGroup",
62 { "foreign.north_location_id" => "self.location_id" },
64 __PACKAGE__
->has_many(
65 "linkage_group_south_location_ids",
66 "SGN::Schema::LinkageGroup",
67 { "foreign.south_location_id" => "self.location_id" },
69 __PACKAGE__
->has_many(
71 "SGN::Schema::MarkerExperiment",
72 { "foreign.location_id" => "self.location_id" },
74 __PACKAGE__
->belongs_to("lg", "SGN::Schema::LinkageGroup", { lg_id
=> "lg_id" });
75 __PACKAGE__
->belongs_to(
77 "SGN::Schema::MarkerConfidence",
78 { confidence_id
=> "confidence_id" },
80 __PACKAGE__
->belongs_to(
82 "SGN::Schema::MapVersion",
83 { map_version_id
=> "map_version_id" },
87 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
88 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hU7wmPdERZMKq01VIQMbXw
91 # You can replace this text with custom content, and it will be preserved on regeneration