1 package SGN
::Schema
::MarkerCollectible
;
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::MarkerCollectible
18 __PACKAGE__
->table("marker_collectible");
22 =head2 marker_collectible_dummy_id
27 sequence: 'marker_collectible_marker_collectible_dummy_id_seq'
43 __PACKAGE__
->add_columns(
44 "marker_collectible_dummy_id",
46 data_type
=> "integer",
47 is_auto_increment
=> 1,
49 sequence
=> "marker_collectible_marker_collectible_dummy_id_seq",
52 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
54 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
56 __PACKAGE__
->set_primary_key("marker_collectible_dummy_id");
57 __PACKAGE__
->add_unique_constraint("marker_collectible_marker_id_key", ["marker_id", "mc_id"]);
65 Related object: L<SGN::Schema::MarkerCollection>
69 __PACKAGE__
->belongs_to(
71 "SGN::Schema::MarkerCollection",
73 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
80 Related object: L<SGN::Schema::Marker>
84 __PACKAGE__
->belongs_to(
86 "SGN::Schema::Marker",
87 { marker_id
=> "marker_id" },
88 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
92 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
93 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Jx+9+xVR4fa6jp7x3Q6hZg
96 # You can replace this text with custom content, and it will be preserved on regeneration