From 271c59c24f3d47bb553bfc5b65e1b538096a0b0a Mon Sep 17 00:00:00 2001 From: Kendric Evans Date: Fri, 2 Jul 2021 16:11:34 -0600 Subject: [PATCH] Updating the size of the Longitude field To address https://github.com/ZoneMinder/zoneminder/issues/3311 --- db/zm_create.sql.in | 2 +- db/zm_update-1.35.29.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 db/zm_update-1.35.29.sql diff --git a/db/zm_create.sql.in b/db/zm_create.sql.in index 123c4a716..6233862cc 100644 --- a/db/zm_create.sql.in +++ b/db/zm_create.sql.in @@ -536,7 +536,7 @@ CREATE TABLE `Monitors` ( `ZoneCount` TINYINT NOT NULL DEFAULT 0, `Refresh` int(10) unsigned default NULL, `Latitude` DECIMAL(10,8), - `Longitude` DECIMAL(10,8), + `Longitude` DECIMAL(11,8), `RTSPServer` BOOLEAN NOT NULL DEFAULT FALSE, `RTSPStreamName` varchar(255) NOT NULL default '', `Importance` enum('Not','Less','Normal'), diff --git a/db/zm_update-1.35.29.sql b/db/zm_update-1.35.29.sql new file mode 100644 index 000000000..e75e59610 --- /dev/null +++ b/db/zm_update-1.35.29.sql @@ -0,0 +1 @@ +ALTER TABLE `Monitors` MODIFY `Longitude` DECIMAL(11,8);