fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / MarkerAlia.pm
blobb6b826bae2fd002e8be3cc450218a1dcd2602da4
1 package SGN::Schema::MarkerAlia;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("marker_alias");
10 __PACKAGE__->add_columns(
11 "alias_id",
13 data_type => "integer",
14 default_value => "nextval('marker_alias_alias_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "alias",
21 data_type => "text",
22 default_value => undef,
23 is_nullable => 0,
24 size => undef,
26 "marker_id",
28 data_type => "integer",
29 default_value => undef,
30 is_foreign_key => 1,
31 is_nullable => 0,
32 size => 4,
34 "preferred",
36 data_type => "boolean",
37 default_value => "true",
38 is_nullable => 1,
39 size => 1,
42 __PACKAGE__->set_primary_key("alias_id");
43 __PACKAGE__->add_unique_constraint("marker_alias_alias_key", ["alias"]);
44 __PACKAGE__->belongs_to("marker", "SGN::Schema::Marker", { marker_id => "marker_id" });
47 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
48 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QiT4n0BXlEhVqNqhBIsRzw
51 # You can replace this text with custom content, and it will be preserved on regeneration