This solves the problem of deleting implicitly child-items, which depend on each other when delet…
Show more
Make page_template foreign key deferrableThis solves the problem of deleting implicitly child-items, whichdepend on each other when deleting an item. When deleting an item, thedeletion of child-items in the content repository happens in anarbitrary order, which could raise fk constraints. Since the deletionhappens in a transaction, the deferring checking of the constraintshelps, since then the constraint violating item is also alreadydeleted.There is no update script necessary, since reload alters theconstraint.
Show less