1 package SGN
::Schema
::Organismgroup
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
14 SGN::Schema::Organismgroup
18 __PACKAGE__
->table("organismgroup");
22 =head2 organismgroup_id
27 sequence: 'organismgroup_organismgroup_id_seq'
43 __PACKAGE__
->add_columns(
46 data_type
=> "integer",
47 is_auto_increment
=> 1,
49 sequence
=> "organismgroup_organismgroup_id_seq",
52 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
54 { data_type
=> "varchar", is_nullable
=> 1, size
=> 32 },
56 __PACKAGE__
->set_primary_key("organismgroup_id");
60 =head2 organismgroup_members
64 Related object: L<SGN::Schema::OrganismgroupMember>
68 __PACKAGE__
->has_many(
69 "organismgroup_members",
70 "SGN::Schema::OrganismgroupMember",
71 { "foreign.organismgroup_id" => "self.organismgroup_id" },
72 { cascade_copy
=> 0, cascade_delete
=> 0 },
76 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
77 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QLDS19A29tivXEZCMuRwTQ
80 # You can replace this text with custom content, and it will be preserved on regeneration