add the db updates for the V4L changes

This commit is contained in:
Isaac Connor 2014-07-24 14:38:51 -04:00 committed by Jan M. Hochstein
parent 930887801d
commit fc28fee7ef
1 changed files with 3 additions and 3 deletions

View File

@ -185,7 +185,7 @@ SET @s = (SELECT IF(
AND column_name = 'V4LMultiBuffer'
) > 0,
"SELECT 'Column V4LMultiBuffer exists in Monitors'",
"ALTER TABLE `Monitors` ADD `V4LMultiBuffer` tinyint(1) unsigned AFTER `Format`"
"ALTER TABLE `Monitors` ADD `V4LMultiBuffer` tinyint(1) unsigned not null default 0 AFTER `Format`"
));
PREPARE stmt FROM @s;
@ -198,8 +198,8 @@ SET @s = (SELECT IF(
AND table_schema = DATABASE()
AND column_name = 'V4LCapturesPerFrame'
) > 0,
"SELECT 'Column V4LCapturesPerFrame exists in Monitors'",
"ALTER TABLE `Monitors` ADD `V4LCapturesPerFrame` tinyint(3) unsigned AFTER `V4LMultiBuffer`"
"SELECT 'Column CapturesPerFrame exists in Monitors'",
"ALTER TABLE `Monitors` ADD `V4LCapturesPerFrame` tinyint(3) unsigned not null default 0 AFTER `V4LMultiBuffer`"
));
PREPARE stmt FROM @s;