2013-12-13 01:45:29 +08:00
|
|
|
--
|
2014-02-02 02:56:18 +08:00
|
|
|
-- This updates a 1.26.5 database to 1.27
|
2013-12-13 01:45:29 +08:00
|
|
|
--
|
|
|
|
|
|
|
|
--
|
2013-12-28 00:02:32 +08:00
|
|
|
-- Add Libvlc and cURL monitor types
|
2013-12-13 01:45:29 +08:00
|
|
|
--
|
|
|
|
|
2013-12-28 00:02:32 +08:00
|
|
|
ALTER TABLE Controls modify column Type enum('Local','Remote','Ffmpeg','Libvlc','cURL') NOT NULL default 'Local';
|
|
|
|
ALTER TABLE MonitorPresets modify column Type enum('Local','Remote','File','Ffmpeg','Libvlc','cURL') NOT NULL default 'Local';
|
|
|
|
ALTER TABLE Monitors modify column Type enum('Local','Remote','File','Ffmpeg','Libvlc','cURL') NOT NULL default 'Local';
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Add required fields for cURL authenication
|
|
|
|
--
|
|
|
|
ALTER TABLE `Monitors` ADD `User` VARCHAR(32) NOT NULL AFTER `SubPath`;
|
|
|
|
ALTER TABLE `Monitors` ADD `Pass` VARCHAR(32) NOT NULL AFTER `User`;
|
2014-02-26 22:07:30 +08:00
|
|
|
|
|
|
|
--
|
|
|
|
-- Add default zone preset
|
|
|
|
--
|
|
|
|
INSERT INTO ZonePresets VALUES (NULL,'Default','Active','Percent','Blobs',25,NULL,3,75,3,3,3,75,2,NULL,1,NULL,0);
|
|
|
|
|