Skip to content

Instantly share code, notes, and snippets.

@mastertheknife
Last active December 31, 2015 20:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mastertheknife/8042406 to your computer and use it in GitHub Desktop.
Save mastertheknife/8042406 to your computer and use it in GitHub Desktop.
SQL commands for the video branch
ALTER TABLE `Monitors` ADD `SaveJPEGs` TINYINT NOT NULL DEFAULT '3' AFTER `Deinterlacing` ,
ADD `VideoWriter` TINYINT NOT NULL DEFAULT '0' AFTER `SaveJPEGs` ,
ADD `EncoderParameters` TEXT NOT NULL AFTER `VideoWriter` ;
ALTER TABLE `Events` ADD `DefaultVideo` VARCHAR( 64 ) NOT NULL AFTER `AlarmFrames` ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment