Source package version id
-=head2 src_pkg_id
+=head2 src_pkg
data_type: 'integer'
is_foreign_key: 1
is_nullable => 0,
sequence => "src_ver_id_seq",
},
- "src_pkg_id",
+ "src_pkg",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"ver",
{ data_type => "debversion", is_nullable => 0 },
=over 4
-=item * L</src_pkg_id>
+=item * L</src_pkg>
=item * L</ver>
=cut
-__PACKAGE__->add_unique_constraint("src_ver_src_pkg_id_ver", ["src_pkg_id", "ver"]);
+__PACKAGE__->add_unique_constraint("src_ver_src_pkg_id_ver", ["src_pkg", "ver"]);
=head1 RELATIONS
"Debbugs::DB::Result::SrcVer",
{ id => "based_on" },
{
- is_deferrable => 1,
+ is_deferrable => 0,
join_type => "LEFT",
on_delete => "CASCADE",
on_update => "CASCADE",
"Debbugs::DB::Result::Maintainer",
{ id => "maintainer_id" },
{
- is_deferrable => 1,
+ is_deferrable => 0,
join_type => "LEFT",
- on_delete => "CASCADE",
+ on_delete => "SET NULL",
on_update => "CASCADE",
},
);
__PACKAGE__->belongs_to(
"src_pkg",
"Debbugs::DB::Result::SrcPkg",
- { id => "src_pkg_id" },
- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
+ { id => "src_pkg" },
+ { is_deferrable => 0, on_delete => "CASCADE", on_update => "CASCADE" },
);
=head2 src_vers
);
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-12-03 15:57:07
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YB4WADgoa3KiJq2OdeSmmQ
+# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P1zipd1t+2AOidtCSzyHVw
# You can replace this text with custom code or comments, and it will be preserved on regeneration