1 package SGN
::Schema
::Taxonomy
;
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("taxonomy");
27 sequence: 'taxonomy_tax_id_seq'
43 __PACKAGE__
->add_columns(
46 data_type
=> "integer",
47 is_auto_increment
=> 1,
49 sequence
=> "taxonomy_tax_id_seq",
52 { data_type
=> "varchar", is_nullable
=> 0, size
=> 50 },
54 { data_type
=> "varchar", is_nullable
=> 1, size
=> 50 },
56 __PACKAGE__
->set_primary_key("tax_id");
60 =head2 organism_order_taxes
64 Related object: L<SGN::Schema::Organism>
68 __PACKAGE__
->has_many(
69 "organism_order_taxes",
70 "SGN::Schema::Organism",
71 { "foreign.order_tax" => "self.tax_id" },
72 { cascade_copy
=> 0, cascade_delete
=> 0 },
75 =head2 organism_family_taxes
79 Related object: L<SGN::Schema::Organism>
83 __PACKAGE__
->has_many(
84 "organism_family_taxes",
85 "SGN::Schema::Organism",
86 { "foreign.family_tax" => "self.tax_id" },
87 { cascade_copy
=> 0, cascade_delete
=> 0 },
90 =head2 organism_genus_taxes
94 Related object: L<SGN::Schema::Organism>
98 __PACKAGE__
->has_many(
99 "organism_genus_taxes",
100 "SGN::Schema::Organism",
101 { "foreign.genus_tax" => "self.tax_id" },
102 { cascade_copy
=> 0, cascade_delete
=> 0 },
105 =head2 organism_subfamily_taxes
109 Related object: L<SGN::Schema::Organism>
113 __PACKAGE__
->has_many(
114 "organism_subfamily_taxes",
115 "SGN::Schema::Organism",
116 { "foreign.subfamily_tax" => "self.tax_id" },
117 { cascade_copy
=> 0, cascade_delete
=> 0 },
121 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
122 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oDr8F1joqs5Q8VT/s0g9Ow
125 # You can replace this text with custom content, and it will be preserved on regeneration