fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / TempMarkerCorrespondence.pm
blobf82ece0ef0ac6d56237c001e07850b3fbbee950e
1 package SGN::Schema::TempMarkerCorrespondence;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("temp_marker_correspondence");
10 __PACKAGE__->add_columns(
11 "tmc_id",
13 data_type => "integer",
14 default_value => "nextval('temp_marker_correspondence_tmc_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "old_marker_id",
21 data_type => "integer",
22 default_value => undef,
23 is_foreign_key => 1,
24 is_nullable => 1,
25 size => 4,
27 "new_marker_id",
28 { data_type => "integer", default_value => undef, is_nullable => 1, size => 4 },
30 __PACKAGE__->set_primary_key("tmc_id");
31 __PACKAGE__->belongs_to(
32 "old_marker",
33 "SGN::Schema::DeprecatedMarker",
34 { marker_id => "old_marker_id" },
35 { join_type => "LEFT" },
39 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
40 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QHMHgueh9OFeL5+j4AA1mA
43 # You can replace this text with custom content, and it will be preserved on regeneration