mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
MySQL Schema: Add object_type to usergroup
This commit is contained in:
parent
8d25b84f20
commit
f5af3a7123
1
schema/mysql-changes/upgrade_5.sql
Normal file
1
schema/mysql-changes/upgrade_5.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TABLE icinga_usergroup ADD COLUMN object_type ENUM('object', 'template') NOT NULL AFTER zone_id;
|
@ -315,7 +315,7 @@ CREATE TABLE icinga_host_var (
|
||||
host_id INT(10) UNSIGNED NOT NULL,
|
||||
varname VARCHAR(255) DEFAULT NULL,
|
||||
varvalue TEXT DEFAULT NULL,
|
||||
format enum ('string', 'json', 'expression'),
|
||||
format enum ('string', 'json', 'expression'), -- immer string vorerst
|
||||
PRIMARY KEY (host_id, varname),
|
||||
key search_idx (varname),
|
||||
CONSTRAINT icinga_host_var_host
|
||||
|
Loading…
x
Reference in New Issue
Block a user