Fix AlarmEndCommand => EventEndCommand

This commit is contained in:
Isaac Connor 2021-11-29 12:53:44 -05:00
parent 1f19ad7c9d
commit ea6a84ae66
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ SET @s = (SELECT IF(
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Monitors'
AND table_schema = DATABASE()
AND column_name = 'AlarmEndCommand'
AND column_name = 'EventEndCommand'
) > 0,
"SELECT 'Column EventEndCommand already exists in Monitors'",
"ALTER TABLE `Monitors` ADD COLUMN `EventEndCommand` VARCHAR(255) NOT NULL DEFAULT '' AFTER `Triggers`"