1 package SGN
::Schema
::Group
;
6 use base
'DBIx::Class';
8 __PACKAGE__
->load_components("Core");
9 __PACKAGE__
->table("groups");
10 __PACKAGE__
->add_columns(
13 data_type
=> "integer",
14 default_value
=> "nextval('groups_group_id_seq'::regclass)",
15 is_auto_increment
=> 1,
20 { data_type
=> "integer", default_value
=> undef, is_nullable
=> 1, size
=> 4 },
24 default_value
=> undef,
29 __PACKAGE__
->set_primary_key("group_id");
30 __PACKAGE__
->has_many(
32 "SGN::Schema::UnigeneBuild",
33 { "foreign.organism_group_id" => "self.group_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:yOXQC5bAqXvLNXXk/+buAQ
41 # You can replace this text with custom content, and it will be preserved on regeneration