1 package SGN
::Schema
::Family
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
18 __PACKAGE__
->table("family");
27 sequence: 'family_family_id_seq'
29 =head2 family_build_id
35 =head2 family_annotation
40 =head2 tree_log_file_location
44 original: {data_type => "varchar"}
46 =head2 tree_file_location
50 original: {data_type => "varchar"}
52 =head2 tree_taxa_number
57 =head2 tree_overlap_length
74 __PACKAGE__
->add_columns(
77 data_type
=> "bigint",
78 is_auto_increment
=> 1,
80 sequence
=> "family_family_id_seq",
83 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
85 { data_type
=> "text", is_nullable
=> 1 },
86 "tree_log_file_location",
90 original
=> { data_type
=> "varchar" },
96 original
=> { data_type
=> "varchar" },
99 { data_type
=> "integer", is_nullable
=> 1 },
100 "tree_overlap_length",
101 { data_type
=> "integer", is_nullable
=> 1 },
103 { data_type
=> "integer", is_nullable
=> 1 },
105 { data_type
=> "integer", is_nullable
=> 1 },
107 __PACKAGE__
->set_primary_key("family_id");
115 Related object: L<SGN::Schema::FamilyBuild>
119 __PACKAGE__
->belongs_to(
121 "SGN::Schema::FamilyBuild",
122 { family_build_id
=> "family_build_id" },
126 on_delete
=> "CASCADE",
127 on_update
=> "CASCADE",
131 =head2 family_members
135 Related object: L<SGN::Schema::FamilyMember>
139 __PACKAGE__
->has_many(
141 "SGN::Schema::FamilyMember",
142 { "foreign.family_id" => "self.family_id" },
143 { cascade_copy
=> 0, cascade_delete
=> 0 },
150 Related object: L<SGN::Schema::FamilyTree>
154 __PACKAGE__
->has_many(
156 "SGN::Schema::FamilyTree",
157 { "foreign.family_id" => "self.family_id" },
158 { cascade_copy
=> 0, cascade_delete
=> 0 },
162 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
163 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:b0V0phWXlABHu1CSjK8XfA
166 # You can replace this text with custom content, and it will be preserved on regeneration