いまさらDBIx::Class::Relationshipのmight_haveで
親子テーブルで
Parent->might_have( "parent_child", "Child", { "foreign.parent_child_seq" => "self.parent_seq" }, );
みたいに書いておくと、親レコードのdeleteの時にリレーションしている子のレコードまでdeleteに走ってしまう。
そんなときは { cascade_delete => 0 } を付けるとデフォルトではdeleteしにいかなくなる
perldocにしっかりかいてありますね。。。
If you update or delete an object in a class with a might_have relationship, the related object will be updated or deleted as well. To turn off this behavior, add cascade_delete => 0 to the $attr hashref. Any database-level update or delete constraints will override this behavior.
それが嫌なら設定で上書きしてねって
はまった