From 8b6e8b5c9d4d1ea61a36d3f3db59596105b0b9b0 Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Wed, 31 Jul 2019 15:45:26 +0200 Subject: [PATCH] Host/Service: Commandline should not be restricted to 255 chars --- etc/schema/mysql/host.sql | 2 +- etc/schema/mysql/service.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/schema/mysql/host.sql b/etc/schema/mysql/host.sql index 045cf681..e55fc19d 100644 --- a/etc/schema/mysql/host.sql +++ b/etc/schema/mysql/host.sql @@ -120,7 +120,7 @@ CREATE TABLE host_state ( output text DEFAULT NULL, long_output text DEFAULT NULL, performance_data text DEFAULT NULL, - check_commandline varchar(255) DEFAULT NULL, + check_commandline text DEFAULT NULL, is_problem enum('y', 'n') NOT NULL, is_handled enum('y', 'n') NOT NULL, diff --git a/etc/schema/mysql/service.sql b/etc/schema/mysql/service.sql index ef5ef25d..673a190d 100644 --- a/etc/schema/mysql/service.sql +++ b/etc/schema/mysql/service.sql @@ -113,7 +113,7 @@ CREATE TABLE service_state ( output text DEFAULT NULL, long_output text DEFAULT NULL, performance_data text DEFAULT NULL, - check_commandline varchar(255) DEFAULT NULL, + check_commandline text DEFAULT NULL, is_problem enum('y', 'n') NOT NULL, is_handled enum('y', 'n') NOT NULL,