1 package SGN
::Schema
::FamilyMember
;
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::FamilyMember
18 __PACKAGE__
->table("family_member");
22 =head2 family_member_id
27 sequence: 'family_member_family_member_id_seq'
34 =head2 organism_group_id
64 __PACKAGE__
->add_columns(
67 data_type
=> "bigint",
68 is_auto_increment
=> 1,
70 sequence
=> "family_member_family_member_id_seq",
73 { data_type
=> "bigint", is_nullable
=> 1 },
75 { data_type
=> "bigint", is_nullable
=> 1 },
77 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
79 { data_type
=> "varchar", is_nullable
=> 1, size
=> 20 },
81 { data_type
=> "varchar", is_nullable
=> 1, size
=> 50 },
83 { data_type
=> "text", is_nullable
=> 1 },
85 __PACKAGE__
->set_primary_key("family_member_id");
93 Related object: L<SGN::Schema::Family>
97 __PACKAGE__
->belongs_to(
99 "SGN::Schema::Family",
100 { family_id
=> "family_id" },
104 on_delete
=> "CASCADE",
105 on_update
=> "CASCADE",
110 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EwK2XAL/yXMUV8rOpDh0VA
114 # You can replace this text with custom content, and it will be preserved on regeneration