[Koha-devel] Frameworks / DB constraints

Tajoli Zeno z.tajoli at cineca.it
Tue Apr 19 17:16:26 CEST 2016


Hi to all,

Il 19/04/2016 16:34, Tomas Cohen Arazi ha scritto:
> Hi fellows, I noticed (in a production server) that a cataloguing
> framework was deleted by a user. This raised a problem with records that
> used that framework: trying to look at the record's detail page ended up
> in a fatal error.
[...]
> Jesse proposed on IRC creating the foreign key with ON DELETE SET NULL.

I'm agree on solution proposed by Jesse: creating the foreign key with 
ON DELETE SET NULL.

Bye
Zeno Tajoli

-- 
Zeno Tajoli
/ SVILUPPO PRODOTTI/ - Automazione Biblioteche
Email: z.tajoli at cineca.it Fax: 051/6132198
*CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)


More information about the Koha-devel mailing list