fixed recursive_children cvterm function, and added tests for parents and children
[cxgn-corelibs.git] / lib / SGN / Schema / Author.pm
blob59709a187caf3e40dcb976956ccde079f22daebe
1 package SGN::Schema::Author;
3 use strict;
4 use warnings;
6 use base 'DBIx::Class';
8 __PACKAGE__->load_components("Core");
9 __PACKAGE__->table("authors");
10 __PACKAGE__->add_columns(
11 "author_id",
13 data_type => "integer",
14 default_value => "nextval('authors_author_id_seq'::regclass)",
15 is_auto_increment => 1,
16 is_nullable => 0,
17 size => 4,
19 "name",
21 data_type => "text",
22 default_value => undef,
23 is_nullable => 1,
24 size => undef,
26 "institution",
28 data_type => "text",
29 default_value => undef,
30 is_nullable => 1,
31 size => undef,
34 __PACKAGE__->set_primary_key("author_id");
37 # Created by DBIx::Class::Schema::Loader v0.04999_07 @ 2009-09-04 13:21:55
38 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+WmxBrPrgo37jUNNMJ0dmw
41 # You can replace this text with custom content, and it will be preserved on regeneration