mirror of https://github.com/Icinga/icinga2.git
DB IDO: Drop invalid schema changes from 1.x IDOUtils in #6060
This commit is contained in:
parent
56222ca90b
commit
dd0a2ab590
|
@ -12,6 +12,13 @@ ALTER TABLE `icinga_programstatus` ADD COLUMN `program_version` varchar(64) char
|
|||
ALTER TABLE icinga_contacts MODIFY alias TEXT character set latin1 default '';
|
||||
ALTER TABLE icinga_hosts MODIFY alias TEXT character set latin1 default '';
|
||||
|
||||
ALTER TABLE icinga_hostgroups DROP COLUMN action_url;
|
||||
ALTER TABLE icinga_hostgroups DROP COLUMN notes_url;
|
||||
ALTER TABLE icinga_hostgroups DROP COLUMN notes;
|
||||
ALTER TABLE icinga_servicegroups DROP COLUMN action_url;
|
||||
ALTER TABLE icinga_servicegroups DROP COLUMN notes_url;
|
||||
ALTER TABLE icinga_servicegroups DROP COLUMN notes;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- update dbversion
|
||||
-- -----------------------------------------
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
|
||||
ALTER TABLE icinga_programstatus ADD COLUMN program_version TEXT default NULL;
|
||||
|
||||
ALTER TABLE icinga_hostgroups DROP COLUMN action_url;
|
||||
ALTER TABLE icinga_hostgroups DROP COLUMN notes_url;
|
||||
ALTER TABLE icinga_hostgroups DROP COLUMN notes;
|
||||
ALTER TABLE icinga_servicegroups DROP COLUMN action_url;
|
||||
ALTER TABLE icinga_servicegroups DROP COLUMN notes_url;
|
||||
ALTER TABLE icinga_servicegroups DROP COLUMN notes;
|
||||
|
||||
-- -----------------------------------------
|
||||
-- update dbversion
|
||||
-- -----------------------------------------
|
||||
|
|
Loading…
Reference in New Issue