1 package SGN
::Schema
::SnpFile
;
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("snp_file");
27 sequence: 'sgn.snp_file_snp_file_id_seq'
42 __PACKAGE__
->add_columns(
45 data_type
=> "integer",
46 is_auto_increment
=> 1,
48 sequence
=> "sgn.snp_file_snp_file_id_seq",
51 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
53 { data_type
=> "integer", is_nullable
=> 0 },
55 __PACKAGE__
->set_primary_key("snp_file_id");
63 Related object: L<SGN::Schema::Snp>
67 __PACKAGE__
->belongs_to(
70 { snp_id
=> "snp_id" },
71 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
75 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
76 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hflJ0div2gwrhhgfJYql5w
79 # You can replace this text with custom content, and it will be preserved on regeneration