fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / DeprecatedMarkerConfidence.pm
blobfe73b698dc534e8404562cbb383ca7b1b6be7bde
1 package SGN::Schema::DeprecatedMarkerConfidence;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("deprecated_marker_confidences");
10 __PACKAGE__->add_columns(
11 "confidence_id",
13 data_type => "integer",
14 default_value => "nextval('deprecated_marker_confidences_confidence_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "confidence_name",
21 data_type => "character varying",
22 default_value => undef,
23 is_nullable => 1,
24 size => 16,
26 "legacy_conf_id",
27 { data_type => "bigint", default_value => undef, is_nullable => 1, size => 8 },
29 __PACKAGE__->set_primary_key("confidence_id");
30 __PACKAGE__->add_unique_constraint("legacy_conf_id_unique", ["legacy_conf_id"]);
31 __PACKAGE__->has_many(
32 "deprecated_marker_locations",
33 "SGN::Schema::DeprecatedMarkerLocation",
34 { "foreign.confidence" => "self.legacy_conf_id" },
36 __PACKAGE__->has_many(
37 "map_versions",
38 "SGN::Schema::MapVersion",
39 { "foreign.default_threshold" => "self.confidence_id" },
43 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
44 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IawmsThhrP8yotxukwjC5A
47 # You can replace this text with custom content, and it will be preserved on regeneration