Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / MarkerConfidence.pm
blobb656e4142045683d3f041667578cee358efd6785
1 package SGN::Schema::MarkerConfidence;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6 use strict;
7 use warnings;
9 use base 'DBIx::Class::Core';
12 =head1 NAME
14 SGN::Schema::MarkerConfidence
16 =cut
18 __PACKAGE__->table("marker_confidence");
20 =head1 ACCESSORS
22 =head2 confidence_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'marker_confidence_confidence_id_seq'
29 =head2 confidence_name
31 data_type: 'text'
32 is_nullable: 1
34 =cut
36 __PACKAGE__->add_columns(
37 "confidence_id",
39 data_type => "integer",
40 is_auto_increment => 1,
41 is_nullable => 0,
42 sequence => "marker_confidence_confidence_id_seq",
44 "confidence_name",
45 { data_type => "text", is_nullable => 1 },
47 __PACKAGE__->set_primary_key("confidence_id");
48 __PACKAGE__->add_unique_constraint("marker_confidence_confidence_name_key", ["confidence_name"]);
50 =head1 RELATIONS
52 =head2 marker_locations
54 Type: has_many
56 Related object: L<SGN::Schema::MarkerLocation>
58 =cut
60 __PACKAGE__->has_many(
61 "marker_locations",
62 "SGN::Schema::MarkerLocation",
63 { "foreign.confidence_id" => "self.confidence_id" },
64 { cascade_copy => 0, cascade_delete => 0 },
68 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
69 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:roKn9U2mzGcfcoxTGgFjuw
72 # You can replace this text with custom content, and it will be preserved on regeneration