mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-23 18:07:42 +02:00
Update mysql upgrade script
This commit is contained in:
parent
89b0b4db57
commit
09b87eac90
@ -4,9 +4,10 @@ CREATE TABLE `icingaweb_dashboard_home` (
|
|||||||
`label` varchar(64) NOT NULL COLLATE utf8mb4_unicode_ci,
|
`label` varchar(64) NOT NULL COLLATE utf8mb4_unicode_ci,
|
||||||
`username` varchar(254) NOT NULL COLLATE utf8mb4_unicode_ci,
|
`username` varchar(254) NOT NULL COLLATE utf8mb4_unicode_ci,
|
||||||
`priority` tinyint NOT NULL,
|
`priority` tinyint NOT NULL,
|
||||||
|
`disabled` tinyint DEFAULT 0,
|
||||||
`type` enum('public', 'private', 'shared') DEFAULT 'private',
|
`type` enum('public', 'private', 'shared') DEFAULT 'private',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `idx_dashboard_home_name` (`name`)
|
UNIQUE KEY `idx_dashboard_home_name` (`name`, `username`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
|
||||||
|
|
||||||
CREATE TABLE `icingaweb_dashboard` (
|
CREATE TABLE `icingaweb_dashboard` (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user