Foreign Key - On Delete
When using
.references(() => id, {onDelete: 'cascade'})
however it doesn't seem like there's a similar option using extraConfig
option, which I use mainly to name my foreign keys.
Can anyone confirm? Otherwise I'd have to manually overwrite migrations I guess2 Replies