Bug 30565: Correct kohastructure

The unique key was added in a dbrev and is referred to in code.
But forgotten in kohastructure.

Test plan:
Run new install or kohastructure.sql on empty db.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Marcel de Rooy 2022-04-20 11:22:15 +00:00 committed by Fridolin Somers
parent bbc0dbeb21
commit 2c250ef312

View file

@ -4790,7 +4790,8 @@ CREATE TABLE `stockrotationrotas` (
`description` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Description for this rota',
`cyclical` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Should items on this rota keep cycling?',
`active` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is this rota currently active?',
PRIMARY KEY (`rota_id`)
PRIMARY KEY (`rota_id`),
UNIQUE KEY `stockrotationrotas_title` (`title`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;