From e8cc0d8256e8641629ec0b6b9736eff897bee7b5 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 2 Oct 2017 15:43:15 -0400 Subject: [PATCH] set a default on DefaultVideo --- db/zm_update-1.31.0.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/zm_update-1.31.0.sql b/db/zm_update-1.31.0.sql index 06e94c10e..7daadd974 100644 --- a/db/zm_update-1.31.0.sql +++ b/db/zm_update-1.31.0.sql @@ -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;