1 package SGN
::Schema
::FamilyTree
;
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::FamilyTree
18 __PACKAGE__
->table("family_tree");
27 sequence: 'family_tree_family_tree_id_seq'
44 original: {data_type => "varchar"}
50 original: {data_type => "varchar"}
54 __PACKAGE__
->add_columns(
57 data_type
=> "integer",
58 is_auto_increment
=> 1,
60 sequence
=> "family_tree_family_tree_id_seq",
63 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
65 { data_type
=> "integer", is_nullable
=> 1 },
70 original
=> { data_type
=> "varchar" },
76 original
=> { data_type
=> "varchar" },
79 __PACKAGE__
->set_primary_key("family_tree_id");
87 Related object: L<SGN::Schema::Family>
91 __PACKAGE__
->belongs_to(
93 "SGN::Schema::Family",
94 { family_id
=> "family_id" },
95 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
99 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
100 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:olyNyjmYqt3GuL+Ry+I+qg
103 # You can replace this text with custom content, and it will be preserved on regeneration