Skip to content

Commit

Permalink
mysql: Add affected_children and affects_children columns
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg authored and oxzi committed Nov 20, 2024
1 parent 5ad7a2c commit 7e8e1eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schema/mysql/upgrades/dependencies3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ALTER TABLE host
ADD COLUMN affected_children int unsigned DEFAULT NULL AFTER check_retry_interval;

ALTER TABLE host_state
ADD COLUMN affects_children enum('n', 'y') NOT NULL DEFAULT 'n' AFTER in_downtime;

ALTER TABLE service
ADD COLUMN affected_children int unsigned DEFAULT NULL AFTER check_retry_interval;

ALTER TABLE service_state
ADD COLUMN affects_children enum('n', 'y') NOT NULL DEFAULT 'n' AFTER in_downtime;

0 comments on commit 7e8e1eb

Please sign in to comment.