1 package SGN
::Schema
::Ssr
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("ssr");
10 __PACKAGE__
->add_columns(
13 data_type
=> "integer",
14 default_value
=> "nextval('ssr_ssr_id_seq'::regclass)",
15 is_auto_increment
=> 1,
21 data_type
=> "bigint",
22 default_value
=> "(0)::bigint",
29 data_type
=> "character varying",
30 default_value
=> undef,
35 { data_type
=> "bigint", default_value
=> undef, is_nullable
=> 1, size
=> 8 },
38 data_type
=> "character varying",
39 default_value
=> undef,
45 data_type
=> "character varying",
46 default_value
=> undef,
51 { data_type
=> "bigint", default_value
=> undef, is_nullable
=> 1, size
=> 8 },
54 data_type
=> "character varying",
55 default_value
=> undef,
61 data_type
=> "character varying",
62 default_value
=> undef,
68 data_type
=> "character varying",
69 default_value
=> undef,
75 data_type
=> "character varying",
76 default_value
=> undef,
81 __PACKAGE__
->set_primary_key("ssr_id");
82 __PACKAGE__
->belongs_to("marker", "SGN::Schema::Marker", { marker_id
=> "marker_id" });
83 __PACKAGE__
->has_many(
84 "ssr_primer_unigene_matches",
85 "SGN::Schema::SsrPrimerUnigeneMatch",
86 { "foreign.ssr_id" => "self.ssr_id" },
88 __PACKAGE__
->has_many(
90 "SGN::Schema::SsrRepeat",
91 { "foreign.ssr_id" => "self.ssr_id" },
95 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
96 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KsqiG9Iipum6TyPnH5ZRgQ
99 # You can replace this text with custom content, and it will be preserved on regeneration