Don't specify zm as the db
parent
f18f448a8c
commit
6da3fcd9cc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue