1 package SGN
::Schema
::RflpMarker
;
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::RflpMarker
18 __PACKAGE__
->table("rflp_markers");
27 sequence: 'rflp_markers_rflp_id_seq'
32 default_value: '0)::bigint'
39 default_value: (empty string)
82 default_value: '0)::bigint'
85 =head2 drug_resistance
104 __PACKAGE__
->add_columns(
107 data_type
=> "integer",
108 is_auto_increment
=> 1,
110 sequence
=> "rflp_markers_rflp_id_seq",
114 data_type
=> "bigint",
115 default_value
=> "0)::bigint",
120 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 64 },
122 { data_type
=> "varchar", is_nullable
=> 1, size
=> 64 },
124 { data_type
=> "varchar", is_nullable
=> 1, size
=> 16 },
126 { data_type
=> "varchar", is_nullable
=> 1, size
=> 32 },
128 { data_type
=> "varchar", is_nullable
=> 1, size
=> 32 },
130 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
132 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
134 { data_type
=> "bigint", default_value
=> "0)::bigint", is_nullable
=> 0 },
136 { data_type
=> "varchar", is_nullable
=> 1, size
=> 16 },
138 { data_type
=> "varchar", is_nullable
=> 1, size
=> 8 },
140 { data_type
=> "smallint", is_nullable
=> 1 },
142 __PACKAGE__
->set_primary_key("rflp_id");
146 =head2 marker_experiments
150 Related object: L<SGN::Schema::MarkerExperiment>
154 __PACKAGE__
->has_many(
155 "marker_experiments",
156 "SGN::Schema::MarkerExperiment",
157 { "foreign.rflp_experiment_id" => "self.rflp_id" },
158 { cascade_copy
=> 0, cascade_delete
=> 0 },
165 Related object: L<SGN::Schema::RflpSequence>
169 __PACKAGE__
->belongs_to(
171 "SGN::Schema::RflpSequence",
172 { seq_id
=> "reverse_seq_id" },
176 on_delete
=> "CASCADE",
177 on_update
=> "CASCADE",
185 Related object: L<SGN::Schema::Marker>
189 __PACKAGE__
->belongs_to(
191 "SGN::Schema::Marker",
192 { marker_id
=> "marker_id" },
193 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
200 Related object: L<SGN::Schema::RflpSequence>
204 __PACKAGE__
->belongs_to(
206 "SGN::Schema::RflpSequence",
207 { seq_id
=> "forward_seq_id" },
211 on_delete
=> "CASCADE",
212 on_update
=> "CASCADE",
217 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
218 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wLUUV2wuSGLIcP3pr3Gbbw
221 # You can replace this text with custom content, and it will be preserved on regeneration