onDelete cascade, Error: VT10001: foreign key constraints are not allowed
Trying to add onDelete cascade and db push produces this error:
foreign key constraints are not allowed
8 Replies
Is it Planetscale?
Hey, Andrew!
Yeah its Pscale
FK's are not supported by PlanetScale
so you can't use it there
so no onDelete cascade in pscale, is that what you mean?
yes
Thanks for the clarification, also nice work clearing up so many questions in a single go. We appreciate you!
spent 4 hours non-stop
Wow, time for a break.