1 package SGN
::Schema
::DeprecatedMapCross
;
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::DeprecatedMapCross
18 __PACKAGE__
->table("deprecated_map_cross");
27 sequence: 'deprecated_map_cross_map_cross_id_seq'
32 default_value: '0)::bigint'
39 default_value: '0)::bigint'
45 __PACKAGE__
->add_columns(
48 data_type
=> "integer",
49 is_auto_increment
=> 1,
51 sequence
=> "deprecated_map_cross_map_cross_id_seq",
55 data_type
=> "bigint",
56 default_value
=> "0)::bigint",
62 data_type
=> "bigint",
63 default_value
=> "0)::bigint",
68 __PACKAGE__
->set_primary_key("map_cross_id");
76 Related object: L<SGN::Schema::Organism>
80 __PACKAGE__
->belongs_to(
82 "SGN::Schema::Organism",
83 { organism_id
=> "organism_id" },
84 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
91 Related object: L<SGN::Schema::DeprecatedMap>
95 __PACKAGE__
->belongs_to(
97 "SGN::Schema::DeprecatedMap",
98 { map_id
=> "map_id" },
99 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
103 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XLQADezENOFU9cyXWoYgsA
107 # You can replace this text with custom content, and it will be preserved on regeneration