[DBIx-Class-Devel] [dbix-class] cascaded delete must delete relationships first (#27)

Graham Barr notifications at github.com
Wed May 22 16:22:05 GMT 2013


Attempting to delete a row before deleting rows
in other tables that reference it will fail with
a constraint error
You can merge this Pull Request by running:

  git pull https://github.com/gbarr/dbix-class cascade_delete

Or you can view, comment on it, or merge it online at:

  https://github.com/dbsrgits/dbix-class/pull/27

-- Commit Summary --

  * cascaded delete must delete relationships first 

-- File Changes --

    M lib/DBIx/Class/Relationship/CascadeActions.pm (4)

-- Patch Links --

https://github.com/dbsrgits/dbix-class/pull/27.patch
https://github.com/dbsrgits/dbix-class/pull/27.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20130522/01847620/attachment.htm


More information about the DBIx-Class-Devel mailing list