ericferon / glpi-archisw

GLPI plugin for application inventory
GNU General Public License v2.0
8 stars 5 forks source link

Unique names #62

Closed PopovIntelkomp closed 1 year ago

PopovIntelkomp commented 1 year ago

Hello! I noticed an interesting feature. It is not possible to create two objects with the same name, even if they belong to different organizations. Is there any way around this limitation? Thanks!

ericferon commented 1 year ago

Hi, There is, in the GLPI database, a unique key index based on the name among the children of a same parent. This feature prevents the erroneous creation of duplicates. But you may suppress this index 'unicity', or change its definition in the database. A priori, I do not touch indexes once created, but I cannot commit to that ; so, document your change, if any. K.r,