Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(update): add missing SQL for PR #7679
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinsivy committed Jul 9, 2019
1 parent c92216d commit a15c2c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/install/sql/centreon/Update-DB-19.10.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ ALTER TABLE `modules_informations` DROP COLUMN `php_files`;
-- Change IP field from varchar(16) to varchar(255)
--
ALTER TABLE `remote_servers` MODIFY COLUMN `ip` VARCHAR(255) NOT NULL;

-- Add trap regexp matching
ALTER TABLE `traps` ADD COLUMN IF NOT EXISTS `traps_mode` ENUM('0', '1') DEFAULT '0' AFTER `traps_oid`;

-- Add trap filter
ALTER TABLE `traps` MODIFY COLUMN `traps_exec_interval_type` ENUM('0','1','2','3') NULL DEFAULT '0';

0 comments on commit a15c2c0

Please sign in to comment.