Fix db update adding DefaultCodec

This commit is contained in:
Isaac Connor 2019-03-19 11:08:14 -04:00
parent 3f9564c10a
commit 927071bb4d
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ SET @s = (SELECT IF(
AND column_name = 'DefaultCodec'
) > 0,
"SELECT 'Column DefaultCodec already exists in Monitors'",
"ALTER TABLE Monitors ADD `DefaultCodec` enum('auto','H264','H265','MJPEG') NOT NULL default 'auto', AFTER `DefaultScale`"
"ALTER TABLE Monitors ADD `DefaultCodec` enum('auto','H264','H265','MJPEG') NOT NULL default 'auto' AFTER `DefaultScale`"
));
PREPARE stmt FROM @s;