[PR #5846] [MERGED] Images: Added nulling of image page relation on page delete #6577

Closed
opened 2026-02-05 10:35:59 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5846
Author: @ssddanbrown
Created: 10/21/2025
Status: Merged
Merged: 10/21/2025
Merged by: @ssddanbrown

Base: developmentHead: page_image_nullification


📝 Commits (1)

  • ea63448 Images: Added nulling of image page relation on page delete

📊 Changes

3 files changed (+38 additions, -10 deletions)

View changed files

📝 app/Entities/Tools/TrashCan.php (+8 -10)
📝 database/migrations/2025_09_15_134751_update_entity_relation_columns.php (+10 -0)
📝 tests/Entity/PageTest.php (+20 -0)

📄 Description

Part of DB cleanup/restructure work.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/5846 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 10/21/2025 **Status:** ✅ Merged **Merged:** 10/21/2025 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `page_image_nullification` --- ### 📝 Commits (1) - [`ea63448`](https://github.com/BookStackApp/BookStack/commit/ea6344898f435c54e225926a68d0b9a26697acd1) Images: Added nulling of image page relation on page delete ### 📊 Changes **3 files changed** (+38 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `app/Entities/Tools/TrashCan.php` (+8 -10) 📝 `database/migrations/2025_09_15_134751_update_entity_relation_columns.php` (+10 -0) 📝 `tests/Entity/PageTest.php` (+20 -0) </details> ### 📄 Description Part of DB cleanup/restructure work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:35:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6577