make cascade the default?

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

make cascade the default?

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

Re: make cascade the default?

От:
Richard Huxton <dev@archonet.com>
Дата:
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
FAQ