1 package SGN
::Schema
::PcrExpAccession
;
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::PcrExpAccession
18 __PACKAGE__
->table("pcr_exp_accession");
22 =head2 pcr_exp_accession_id
27 sequence: 'pcr_exp_accession_pcr_exp_accession_id_seq'
29 =head2 pcr_experiment_id
48 __PACKAGE__
->add_columns(
49 "pcr_exp_accession_id",
51 data_type
=> "bigint",
52 is_auto_increment
=> 1,
54 sequence
=> "pcr_exp_accession_pcr_exp_accession_id_seq",
57 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
59 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
61 { data_type
=> "bigint", is_nullable
=> 1 },
63 __PACKAGE__
->set_primary_key("pcr_exp_accession_id");
71 Related object: L<SGN::Schema::Accession>
75 __PACKAGE__
->belongs_to(
77 "SGN::Schema::Accession",
78 { accession_id
=> "accession_id" },
82 on_delete
=> "CASCADE",
83 on_update
=> "CASCADE",
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::PcrProduct>
115 __PACKAGE__
->has_many(
117 "SGN::Schema::PcrProduct",
118 { "foreign.pcr_exp_accession_id" => "self.pcr_exp_accession_id" },
119 { cascade_copy
=> 0, cascade_delete
=> 0 },
123 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
124 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Y3RZikf9JL4YQNNoTtAMuw
127 # You can replace this text with custom content, and it will be preserved on regeneration