diff --git a/db/zm_update-1.22.1.sql b/db/zm_update-1.22.1.sql new file mode 100644 index 000000000..2dca40926 --- /dev/null +++ b/db/zm_update-1.22.1.sql @@ -0,0 +1,18 @@ +-- +-- This updates a 1.22.1 database to 1.22.2 +-- + +-- +-- Add missing zone preset +-- +insert into ZonePresets values (6,'Best, high sensitivity','Active','Percent','Blobs',20,NULL,8,NULL,3,3,6,NULL,5,NULL,1,NULL); + +-- +-- 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;