fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / DeprecatedMapCross.pm
blobd420e7a07f18fe93b0d77545fecd8985134a65c0
1 package SGN::Schema::DeprecatedMapCross;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("deprecated_map_cross");
10 __PACKAGE__->add_columns(
11 "map_cross_id",
13 data_type => "integer",
14 default_value => "nextval('deprecated_map_cross_map_cross_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "map_id",
21 data_type => "bigint",
22 default_value => "(0)::bigint",
23 is_foreign_key => 1,
24 is_nullable => 0,
25 size => 8,
27 "organism_id",
29 data_type => "bigint",
30 default_value => "(0)::bigint",
31 is_foreign_key => 1,
32 is_nullable => 0,
33 size => 8,
36 __PACKAGE__->set_primary_key("map_cross_id");
37 __PACKAGE__->belongs_to(
38 "organism",
39 "SGN::Schema::Organism",
40 { organism_id => "organism_id" },
42 __PACKAGE__->belongs_to("map", "SGN::Schema::DeprecatedMap", { map_id => "map_id" });
45 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
46 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LjKtQDgffWt7h7U8ST83Lw
49 # You can replace this text with custom content, and it will be preserved on regeneration