[Koha-bugs] [Bug 30497] Constraint old_reserves_ibfk_4 should be SET NULL instead of CASCADE
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 23 16:18:26 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30497
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #133106|0 |1
is obsolete| |
--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 139680
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139680&action=edit
Bug 30497: Recreate old_reserves_ibfk_4 when it cascades
Test plan:
Drop old_reserves_ibfk_4.
Add back with:
alter table old_reserves ADD CONSTRAINT `old_reserves_ibfk_4` FOREIGN KEY
(`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE CASCADE ON UPDATE
CASCADE;
Run dbrev. Check that constraint has been replaced by SET NULL.
Run dbrev again. No changes.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
[EDIT 23-08-22 Replaced DROP CONSTRAINT]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list