set a default on DefaultVideo

This commit is contained in:
Isaac Connor 2017-10-02 15:43:15 -04:00
parent 72ca011e2f
commit e8cc0d8256
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ SET @s = (SELECT IF(
AND column_name = 'DefaultVideo'
) > 0,
"SELECT 'Column DefaultVideo exists in Events'",
"ALTER TABLE `Events` ADD `DefaultVideo` VARCHAR( 64 ) NOT NULL AFTER `AlarmFrames`"
"ALTER TABLE `Events` ADD `DefaultVideo` VARCHAR( 64 ) NOT NULL default '' AFTER `AlarmFrames`"
));
PREPARE stmt FROM @s;