1 package SGN
::Schema
::Enzyme
;
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("enzymes");
27 sequence: 'enzymes_enzyme_id_seq'
37 __PACKAGE__
->add_columns(
40 data_type
=> "integer",
41 is_auto_increment
=> 1,
43 sequence
=> "enzymes_enzyme_id_seq",
46 { data_type
=> "varchar", is_nullable
=> 1, size
=> 32 },
48 __PACKAGE__
->set_primary_key("enzyme_id");
49 __PACKAGE__
->add_unique_constraint("enzymes_enzyme_name_key", ["enzyme_name"]);
57 Related object: L<SGN::Schema::PcrProduct>
61 __PACKAGE__
->has_many(
63 "SGN::Schema::PcrProduct",
64 { "foreign.enzyme_id" => "self.enzyme_id" },
65 { cascade_copy
=> 0, cascade_delete
=> 0 },
69 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
70 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7LZeXCaVkuG7Yq8TRquAHw
73 # You can replace this text with custom content, and it will be preserved on regeneration