mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
parent
5e0ae6410b
commit
b123afe594
@ -3,11 +3,13 @@
|
|||||||
CREATE TABLE `icingaweb_group`(
|
CREATE TABLE `icingaweb_group`(
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
|
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
|
||||||
`parent` varchar(64) COLLATE utf8_unicode_ci NULL DEFAULT NULL,
|
`parent` int(10) unsigned NULL DEFAULT NULL,
|
||||||
`ctime` timestamp NULL DEFAULT NULL,
|
`ctime` timestamp NULL DEFAULT NULL,
|
||||||
`mtime` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
`mtime` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `idx_name` (`name`)
|
UNIQUE KEY `idx_name` (`name`),
|
||||||
|
CONSTRAINT `fk_icingaweb_group_parent_id` FOREIGN KEY (`parent`)
|
||||||
|
REFERENCES `icingaweb_group` (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `icingaweb_group_membership`(
|
CREATE TABLE `icingaweb_group_membership`(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user