dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] Constraint to remove ?


From: Nicolas Dorigny - datætic
Subject: [Dolibarr-dev] Constraint to remove ?
Date: Thu, 8 Sep 2016 18:27:07 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Hello,

I just noticed that in the DB schema, in the llx_socpeople table, there's a constraint on foreign key fk_user_creat but not on fk_user_modif :

CONSTRAINT `fk_socpeople_user_creat_user_rowid` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)

And there aren't such constraints in llx_projet or llx_societe tables, that also have fk_user_creat and fk_user_modif columns.

Is there a reason ?

If not, this constraint on llx_socpeople/fk_user_creat should be removed.

Regards,
--
dataetic

Nicolas Dorigny
Consultant - Développeur web freelance
address@hidden | 05 61 87 01 89 | 06 65 68 44 64

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]