1 package SGN
::Schema
::CommonNameprop
;
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::CommonNameprop
18 __PACKAGE__
->table("common_nameprop");
22 =head2 common_nameprop_id
27 sequence: 'organismprop_organismprop_id_seq'
54 __PACKAGE__
->add_columns(
57 data_type
=> "integer",
58 is_auto_increment
=> 1,
60 sequence
=> "organismprop_organismprop_id_seq",
63 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
65 { data_type
=> "integer", is_nullable
=> 0 },
67 { data_type
=> "varchar", is_nullable
=> 0, size
=> 32 },
69 { data_type
=> "integer", default_value
=> 0, is_nullable
=> 0 },
71 __PACKAGE__
->set_primary_key("common_nameprop_id");
79 Related object: L<SGN::Schema::CommonName>
83 __PACKAGE__
->belongs_to(
85 "SGN::Schema::CommonName",
86 { common_name_id
=> "common_name_id" },
87 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
91 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BuIRBz+5C+oT0LP0u7coNg
95 # You can replace this text with custom content, and it will be preserved on regeneration