1 package SGN
::Schema
::DeprecatedMapdata
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("deprecated_mapdata");
10 __PACKAGE__
->add_columns(
13 data_type
=> "integer",
14 default_value
=> "nextval('deprecated_mapdata_loc_id_seq'::regclass)",
15 is_auto_increment
=> 1,
21 data_type
=> "bigint",
22 default_value
=> "(0)::bigint",
29 data_type
=> "bigint",
30 default_value
=> undef,
37 data_type
=> "numeric",
38 default_value
=> undef,
44 data_type
=> "bigint",
45 default_value
=> "(0)::bigint",
51 data_type
=> "bigint",
52 default_value
=> "(0)::bigint",
57 __PACKAGE__
->set_primary_key("loc_id");
58 __PACKAGE__
->belongs_to("map", "SGN::Schema::DeprecatedMap", { map_id
=> "map_id" });
59 __PACKAGE__
->belongs_to(
61 "SGN::Schema::DeprecatedLinkageGroup",
63 { join_type
=> "LEFT" },
65 __PACKAGE__
->has_many(
66 "deprecated_marker_locations",
67 "SGN::Schema::DeprecatedMarkerLocation",
68 { "foreign.loc_id" => "self.loc_id" },
72 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
73 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:h90SRjb5LA8LUlGbg0tQqg
76 # You can replace this text with custom content, and it will be preserved on regeneration