1 package SGN
::Schema
::DeprecatedMapdata
;
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::DeprecatedMapdata
18 __PACKAGE__
->table("deprecated_mapdata");
27 sequence: 'deprecated_mapdata_loc_id_seq'
32 default_value: '0)::bigint'
51 default_value: '0)::bigint'
57 default_value: '0)::bigint'
62 __PACKAGE__
->add_columns(
65 data_type
=> "integer",
66 is_auto_increment
=> 1,
68 sequence
=> "deprecated_mapdata_loc_id_seq",
72 data_type
=> "bigint",
73 default_value
=> "0)::bigint",
78 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
80 { data_type
=> "numeric", is_nullable
=> 1, size
=> [8, 5] },
82 { data_type
=> "bigint", default_value
=> "0)::bigint", is_nullable
=> 0 },
84 { data_type
=> "bigint", default_value
=> "0)::bigint", is_nullable
=> 0 },
86 __PACKAGE__
->set_primary_key("loc_id");
94 Related object: L<SGN::Schema::DeprecatedMap>
98 __PACKAGE__
->belongs_to(
100 "SGN::Schema::DeprecatedMap",
101 { map_id
=> "map_id" },
102 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
109 Related object: L<SGN::Schema::DeprecatedLinkageGroup>
113 __PACKAGE__
->belongs_to(
115 "SGN::Schema::DeprecatedLinkageGroup",
116 { lg_id
=> "lg_id" },
120 on_delete
=> "CASCADE",
121 on_update
=> "CASCADE",
125 =head2 deprecated_marker_locations
129 Related object: L<SGN::Schema::DeprecatedMarkerLocation>
133 __PACKAGE__
->has_many(
134 "deprecated_marker_locations",
135 "SGN::Schema::DeprecatedMarkerLocation",
136 { "foreign.loc_id" => "self.loc_id" },
137 { cascade_copy
=> 0, cascade_delete
=> 0 },
141 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
142 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:orOD30Vq4ddEG6GH3KNMSw
145 # You can replace this text with custom content, and it will be preserved on regeneration