Обсуждение: make cascade the default?

Поиск
Список
Период
Сортировка

make cascade the default?

От
"jws"
Дата:
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'?


Re: make cascade the default?

От
Richard Huxton
Дата:
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