Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / DeprecatedMarkerConfidence.pm
blobc57861a9a383dd903fd386e548e352c55df06b7c
1 package SGN::Schema::DeprecatedMarkerConfidence;
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::DeprecatedMarkerConfidence
16 =cut
18 __PACKAGE__->table("deprecated_marker_confidences");
20 =head1 ACCESSORS
22 =head2 confidence_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'deprecated_marker_confidences_confidence_id_seq'
29 =head2 confidence_name
31 data_type: 'varchar'
32 is_nullable: 1
33 size: 16
35 =head2 legacy_conf_id
37 data_type: 'bigint'
38 is_nullable: 1
40 =cut
42 __PACKAGE__->add_columns(
43 "confidence_id",
45 data_type => "integer",
46 is_auto_increment => 1,
47 is_nullable => 0,
48 sequence => "deprecated_marker_confidences_confidence_id_seq",
50 "confidence_name",
51 { data_type => "varchar", is_nullable => 1, size => 16 },
52 "legacy_conf_id",
53 { data_type => "bigint", is_nullable => 1 },
55 __PACKAGE__->set_primary_key("confidence_id");
56 __PACKAGE__->add_unique_constraint("legacy_conf_id_unique", ["legacy_conf_id"]);
58 =head1 RELATIONS
60 =head2 deprecated_marker_locations
62 Type: has_many
64 Related object: L<SGN::Schema::DeprecatedMarkerLocation>
66 =cut
68 __PACKAGE__->has_many(
69 "deprecated_marker_locations",
70 "SGN::Schema::DeprecatedMarkerLocation",
71 { "foreign.confidence" => "self.legacy_conf_id" },
72 { cascade_copy => 0, cascade_delete => 0 },
75 =head2 map_versions
77 Type: has_many
79 Related object: L<SGN::Schema::MapVersion>
81 =cut
83 __PACKAGE__->has_many(
84 "map_versions",
85 "SGN::Schema::MapVersion",
86 { "foreign.default_threshold" => "self.confidence_id" },
87 { cascade_copy => 0, cascade_delete => 0 },
91 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jVtQOSMFK+hZZ3sajdmzqA
95 # You can replace this text with custom content, and it will be preserved on regeneration