X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FDB%2FResult%2FBugVer.pm;h=95475f634e5a07e61d032d05286f6b43665582eb;hb=e718111c86d5d7f667ba238165626a1decd51cd7;hp=d35f3e6fd4cec80e3ce78fdb7cb948313a7918b6;hpb=b31b7f3b229ffc9f9e4fe387de4608dd472611d8;p=debbugs.git diff --git a/Debbugs/DB/Result/BugVer.pm b/Debbugs/DB/Result/BugVer.pm index d35f3e6..95475f6 100644 --- a/Debbugs/DB/Result/BugVer.pm +++ b/Debbugs/DB/Result/BugVer.pm @@ -156,7 +156,7 @@ __PACKAGE__->belongs_to( "bug", "Debbugs::DB::Result::Bug", { id => "bug" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, + { is_deferrable => 0, on_delete => "RESTRICT", on_update => "CASCADE" }, ); =head2 src_pkg @@ -172,9 +172,9 @@ __PACKAGE__->belongs_to( "Debbugs::DB::Result::SrcPkg", { id => "src_pkg" }, { - is_deferrable => 1, + is_deferrable => 0, join_type => "LEFT", - on_delete => "CASCADE", + on_delete => "SET NULL", on_update => "CASCADE", }, ); @@ -192,16 +192,16 @@ __PACKAGE__->belongs_to( "Debbugs::DB::Result::SrcVer", { id => "src_ver_id" }, { - is_deferrable => 1, + is_deferrable => 0, join_type => "LEFT", - on_delete => "CASCADE", + on_delete => "SET NULL", on_update => "CASCADE", }, ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-27 18:54:20 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WX1pwdsAUjQK28CwCaDQw +# Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-10-09 20:27:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AlnpfT/8jqREfK5zVfPyPw # You can replace this text with custom code or comments, and it will be preserved on regeneration