Don't specify zm as the db

This commit is contained in:
Isaac Connor
2024-02-27 09:24:14 -05:00
parent f18f448a8c
commit 6da3fcd9cc

View File

@@ -11,7 +11,7 @@ SET @s = (SELECT IF(
AND column_name = 'ONVIF_Events_Path'
) > 0,
"SELECT 'Column ONVIF_Events_Path already exists on Monitors'",
"ALTER TABLE zm.Monitors ADD `ONVIF_Events_Path` varchar(20) DEFAULT '/Events' NOT NULL AFTER ONVIF_URL"
"ALTER TABLE Monitors ADD `ONVIF_Events_Path` varchar(20) DEFAULT '/Events' NOT NULL AFTER ONVIF_URL"
));
PREPARE stmt FROM @s;