Can I avoid foreign key constriant in laravel permission? #2447
Unanswered
theaungmyatmoe
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Feel free to make all the customizations you consider necessary for your implementation
No |
Beta Was this translation helpful? Give feedback.
1 reply
-
This package depends on foreign-key-constraints for database integrity when it comes to deleting records, instead of using package application code to manually delete all related records before deleting parent relations. It would be best to use a platform that supports foreign-key relations. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know how foreign key is powerful. I have some issue with planetscale database which is not allowed to use FK in their database.
So, I started to make like that. Does there other great approach to avoid FK without losing integrity?
Beta Was this translation helpful? Give feedback.
All reactions