Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force delete #151

Open
juandie190 opened this issue Oct 3, 2024 · 0 comments
Open

Force delete #151

juandie190 opened this issue Oct 3, 2024 · 0 comments
Assignees

Comments

@juandie190
Copy link

  • Laravel version: 11.0.0
  • Laravel Soft Cascade Version: 11.0.0
  • PHP Version: 8.2
  • Database Driver & Version: Mysql 8.0

Description:

I have a relationship one to many Between model Car and model SheetInspection, SheetInspection has a one-to-one polymorphic relation with DriveTest, the three models supports soft deletes, when I do a Car Delete Everything is marked as deleted, but when I make a Car Forcedelete, only the car and sheetInspections are removed from database, but the driveTest is kept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants