1 package SGN
::Schema
::DeprecatedMarker
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("deprecated_markers");
10 __PACKAGE__
->add_columns(
13 data_type
=> "integer",
14 default_value
=> "nextval('deprecated_markers_marker_id_seq'::regclass)",
15 is_auto_increment
=> 1,
21 data_type
=> "bigint",
22 default_value
=> "(0)::bigint",
29 data_type
=> "character varying",
30 default_value
=> "''::character varying",
35 __PACKAGE__
->set_primary_key("marker_id");
36 __PACKAGE__
->has_many(
37 "deprecated_marker_locations",
38 "SGN::Schema::DeprecatedMarkerLocation",
39 { "foreign.marker_id" => "self.marker_id" },
41 __PACKAGE__
->belongs_to(
43 "SGN::Schema::DeprecatedMarkerType",
44 { marker_type_id
=> "marker_type" },
46 __PACKAGE__
->has_many(
47 "marker_derived_froms",
48 "SGN::Schema::MarkerDerivedFrom",
49 { "foreign.marker_id" => "self.marker_id" },
51 __PACKAGE__
->has_many(
52 "temp_marker_correspondences",
53 "SGN::Schema::TempMarkerCorrespondence",
54 { "foreign.old_marker_id" => "self.marker_id" },
58 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
59 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iq+mw1tzL17MWwDwqZaCIQ
62 # You can replace this text with custom content, and it will be preserved on regeneration