Thanks, Ben. What confuses me is why they are set differently.
The way I understand this is that cascade_delete => 0 tells DBIC that it's not necessary for DBIC to delete the notifications manually, because Postgres will have done it automatically. That makes sense.
But then why is there the on_delete => "CASCADE" at the notification level? What does DBIC do with that bit of knowledge?
xoxo,
Andy
In reply to Re^2: DBIx::Class::Schema::Loader and on_delete/cascade_delete
by petdance
in thread DBIx::Class::Schema::Loader and on_delete/cascade_delete
by petdance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |