Closed mdurling closed 2 years ago
Latest commit: 84421e67f31c811e71465ea49e4e5e70e0b5a85d
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
You're forgetting TRUNCATE ... CASCADE
📚 Purpose
FK relationships are mostly unnecessary, but they are used on occasion. When a join table for a many-to-many relationship exists, it must be truncated before the tables it references.