use 'ON DELETE SET NULL' instead of 'ON DELETE CASCADE'
changelog
changelog
Fixes #5584: `yii\rbac\DbRbacManager` should not delete items when deleting a rule on a database not supporting cascade update