We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I'm trying to delete one currency (I have 3 right now) I'm getting this:
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`myperfectday`.`lunar_prices`, CONSTRAINT `lunar_prices_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `lunar_currencies` (`id`)) delete from `lunar_currencies` where `id` = 3
I would expect that it will remove prices for this currency or in the "lazy version" just got message that this is not allowed.
The text was updated successfully, but these errors were encountered:
PR #1859 introduces soft deleting to models, currencies included. Which should hopefully solve this problem.
Sorry, something went wrong.
No branches or pull requests
When I'm trying to delete one currency (I have 3 right now) I'm getting this:
I would expect that it will remove prices for this currency or in the "lazy version" just got message that this is not allowed.
The text was updated successfully, but these errors were encountered: