1 package SGN
::Schema
::MarkerExperiment
;
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::MarkerExperiment
18 __PACKAGE__
->table("marker_experiment");
22 =head2 marker_experiment_id
27 sequence: 'marker_experiment_marker_experiment_id_seq'
35 =head2 pcr_experiment_id
41 =head2 rflp_experiment_id
60 __PACKAGE__
->add_columns(
61 "marker_experiment_id",
63 data_type
=> "integer",
64 is_auto_increment
=> 1,
66 sequence
=> "marker_experiment_marker_experiment_id_seq",
69 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
71 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
73 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
75 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
77 { data_type
=> "text", is_nullable
=> 0 },
79 __PACKAGE__
->set_primary_key("marker_experiment_id");
80 __PACKAGE__
->add_unique_constraint(
81 "marker_experiment_pcr_experiment_id_key",
82 ["pcr_experiment_id", "rflp_experiment_id", "location_id"],
91 Related object: L<SGN::Schema::PcrExperiment>
95 __PACKAGE__
->belongs_to(
97 "SGN::Schema::PcrExperiment",
98 { pcr_experiment_id
=> "pcr_experiment_id" },
102 on_delete
=> "CASCADE",
103 on_update
=> "CASCADE",
111 Related object: L<SGN::Schema::MarkerLocation>
115 __PACKAGE__
->belongs_to(
117 "SGN::Schema::MarkerLocation",
118 { location_id
=> "location_id" },
122 on_delete
=> "CASCADE",
123 on_update
=> "CASCADE",
127 =head2 rflp_experiment
131 Related object: L<SGN::Schema::RflpMarker>
135 __PACKAGE__
->belongs_to(
137 "SGN::Schema::RflpMarker",
138 { rflp_id
=> "rflp_experiment_id" },
142 on_delete
=> "CASCADE",
143 on_update
=> "CASCADE",
151 Related object: L<SGN::Schema::Marker>
155 __PACKAGE__
->belongs_to(
157 "SGN::Schema::Marker",
158 { marker_id
=> "marker_id" },
162 on_delete
=> "CASCADE",
163 on_update
=> "CASCADE",
168 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
169 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LACXBxVUAZwsF+fcMy8Y3g
172 # You can replace this text with custom content, and it will be preserved on regeneration