1 package SGN
::Schema
::DeprecatedLinkageGroup
;
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::DeprecatedLinkageGroup
18 __PACKAGE__
->table("deprecated_linkage_groups");
27 sequence: 'deprecated_linkage_groups_lg_id_seq'
48 __PACKAGE__
->add_columns(
51 data_type
=> "bigint",
52 is_auto_increment
=> 1,
54 sequence
=> "deprecated_linkage_groups_lg_id_seq",
57 { data_type
=> "bigint", is_foreign_key
=> 1, is_nullable
=> 1 },
59 { data_type
=> "bigint", is_nullable
=> 1 },
61 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
63 __PACKAGE__
->set_primary_key("lg_id");
71 Related object: L<SGN::Schema::DeprecatedMap>
75 __PACKAGE__
->belongs_to(
77 "SGN::Schema::DeprecatedMap",
78 { map_id
=> "map_id" },
82 on_delete
=> "CASCADE",
83 on_update
=> "CASCADE",
87 =head2 deprecated_mapdatas
91 Related object: L<SGN::Schema::DeprecatedMapdata>
95 __PACKAGE__
->has_many(
96 "deprecated_mapdatas",
97 "SGN::Schema::DeprecatedMapdata",
98 { "foreign.lg_id" => "self.lg_id" },
99 { cascade_copy
=> 0, cascade_delete
=> 0 },
103 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9dFb1FK633Dd6TcghBivCA
107 # You can replace this text with custom content, and it will be preserved on regeneration