1 package SGN
::Schema
::MarkerCollection
;
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::MarkerCollection
18 __PACKAGE__
->table("marker_collection");
27 sequence: 'marker_collection_mc_id_seq'
41 __PACKAGE__
->add_columns(
44 data_type
=> "integer",
45 is_auto_increment
=> 1,
47 sequence
=> "marker_collection_mc_id_seq",
50 { data_type
=> "text", is_nullable
=> 0 },
52 { data_type
=> "text", is_nullable
=> 1 },
54 __PACKAGE__
->set_primary_key("mc_id");
55 __PACKAGE__
->add_unique_constraint("marker_collection_mc_name_key", ["mc_name"]);
59 =head2 marker_collectibles
63 Related object: L<SGN::Schema::MarkerCollectible>
67 __PACKAGE__
->has_many(
68 "marker_collectibles",
69 "SGN::Schema::MarkerCollectible",
70 { "foreign.mc_id" => "self.mc_id" },
71 { cascade_copy
=> 0, cascade_delete
=> 0 },
75 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
76 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZLN5hiKV+Bxhzzzdbeq75Q
79 # You can replace this text with custom content, and it will be preserved on regeneration