Cascade doesn't work
Hello I use drizzle with bun:sqlite ,
I use onDelete cascade in reference but it doesn't work on app leve , it seem work on database level when deleting from dbviewer.
3 Replies
Any Solution please am migrating my project from sequelize evrything work nice am just stuck with delete cascade doesn't work now
Can you provide some code examples? I use this feature fine in Drizzle. Make sure you're specifying the attribute on the table definition:
I use it like this too
But i use it with Bun:sqlite