19 lines
546 B
MySQL
19 lines
546 B
MySQL
|
--
|
||
|
-- This updates a 1.24.2 database to the next version
|
||
|
--
|
||
|
|
||
|
--
|
||
|
-- Add in remote ZoneMinder preset.
|
||
|
--
|
||
|
INSERT INTO MonitorPresets VALUES ('','Remote ZoneMinder','Remote',NULL,NULL,NULL,'http','simple','<ip-address>',80,'/cgi-bin/nph-zms?mode=jpeg&monitor=<monitor-id>&scale=100&maxfps=5&buffer=0',NULL,NULL,NULL,3,NULL,0,NULL,NULL,NULL,100,100);
|
||
|
|
||
|
--
|
||
|
-- These are optional, but we might as well do it now
|
||
|
--
|
||
|
optimize table Frames;
|
||
|
optimize table Events;
|
||
|
optimize table Filters;
|
||
|
optimize table Zones;
|
||
|
optimize table Monitors;
|
||
|
optimize table Stats;
|