make cascade the default?

Started by jeff sackstederabout 19 years ago2 messagesgeneral
Jump to latest
#1jeff sacksteder
jsacksteder@gmail.com

Is there a way at to set the 'on delete' and 'on update' options at
the database or table level, so that any new foreign keys default to,
say 'CASCADE', rather than 'no action'?

#2Richard Huxton
dev@archonet.com
In reply to: jeff sacksteder (#1)
Re: make cascade the default?

jws wrote:

Is there a way at to set the 'on delete' and 'on update' options at
the database or table level, so that any new foreign keys default to,
say 'CASCADE', rather than 'no action'?

Not as far as I know.

--
Richard Huxton
Archonet Ltd