1 package SGN
::Schema
::Sequence
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("sequence");
10 __PACKAGE__
->add_columns(
13 data_type
=> "bigint",
14 default_value
=> "nextval('sequence_sequence_id_seq'::regclass)",
15 is_auto_increment
=> 1,
22 default_value
=> undef,
27 __PACKAGE__
->set_primary_key("sequence_id");
28 __PACKAGE__
->add_unique_constraint("sequence_unique", ["sequence"]);
29 __PACKAGE__
->has_many(
30 "pcr_experiment_primer_id_fwds",
31 "SGN::Schema::PcrExperiment",
32 { "foreign.primer_id_fwd" => "self.sequence_id" },
34 __PACKAGE__
->has_many(
35 "pcr_experiment_primer_id_revs",
36 "SGN::Schema::PcrExperiment",
37 { "foreign.primer_id_rev" => "self.sequence_id" },
41 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
42 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eVs1qu+FGIECyCsPsjlZBg
45 # You can replace this text with custom content, and it will be preserved on regeneration