mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
mysql: Fix duplicate director_datafield_category constraint name
This commit is contained in:
parent
01b433a0a4
commit
82841c0bf3
1 changed files with 1 additions and 1 deletions
|
|
@ -673,7 +673,7 @@ CREATE TABLE director_property (
|
|||
parent_uuid_v BINARY(16) AS (COALESCE(parent_uuid, 0x00000000000000000000000000000000)) STORED,
|
||||
PRIMARY KEY (uuid),
|
||||
UNIQUE INDEX unique_name_parent_uuid (key_name, parent_uuid_v),
|
||||
CONSTRAINT director_datafield_category
|
||||
CONSTRAINT director_property_category
|
||||
FOREIGN KEY category (category_id)
|
||||
REFERENCES director_datafield_category (id)
|
||||
ON DELETE RESTRICT
|
||||
|
|
|
|||
Loading…
Reference in a new issue