Search
Get Started
DT
Drizzle Team
•
3y ago
Elv
Cascade onDelete when not using FK relations
Is there a way to add a cascade on delete when declaring relations without FK
? For planetscale for example
?
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,795
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
When using a foreignKey({}), is there a way to specify onDelete: "cascade'?
DT
Drizzle Team / help
2y ago
onDelete cascade, Error: VT10001: foreign key constraints are not allowed
DT
Drizzle Team / help
3y ago
`{ onDelete: "cascade" }` when the entity is in one-to-one relationship with multiple entities?
DT
Drizzle Team / help
3y ago
Duplicate relations when using `with`
DT
Drizzle Team / help
3y ago