From 6fe14ccf47f287e0bc7230015ed4f7fba3276caa Mon Sep 17 00:00:00 2001 From: Andriy Utkin Date: Mon, 29 Jan 2024 14:07:33 +0000 Subject: [PATCH] Grow Devices.model DB field to 64 chars (fixup) This change complements commit 26ce91bdfe039f1ab7466cabada6002c07be6b2b . See https://github.com/bluecherrydvr/bluecherry-apps/issues/647 --- misc/sql/schema_mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/sql/schema_mysql.sql b/misc/sql/schema_mysql.sql index 54d7effc..779a37c9 100644 --- a/misc/sql/schema_mysql.sql +++ b/misc/sql/schema_mysql.sql @@ -52,7 +52,7 @@ CREATE TABLE `Devices` ( `ptz_serial_values` varchar(64) DEFAULT NULL, `resolutionX` smallint(6) DEFAULT NULL, `resolutionY` smallint(6) DEFAULT NULL, - `model` varchar(30) DEFAULT NULL, + `model` varchar(64) DEFAULT NULL, `channel` int(11) NOT NULL DEFAULT '0', `invert` tinyint(1) NOT NULL DEFAULT '0', `audio_volume` smallint(6) DEFAULT '50',