Skip to content
Discussion options

You must be logged in to vote

This is something that will be well done within the database using the on delete cascade option. If you are unaware of how this option works in SQL, then I recommend first reading a bit about and then you can use AdonisJS migrations to set the on delete cascade when creating database tables

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RomainLanz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants