DT
Drizzle Team16mo ago
JT

cascades

I know you can add .references() to set up foreign keys in a table definition, but how do you set up cascades?
1 Reply
rphlmr ⚡
rphlmr ⚡16mo ago
references takes a second params where you can define onDelete and onUpdate 😉