From 7e8033a5a59416c953cf346b774018a5f56fcfe2 Mon Sep 17 00:00:00 2001 From: Harry S Date: Wed, 4 Aug 2021 19:21:39 -0600 Subject: [PATCH 1/5] change command_result.result to LONGTEXT --- storage/mysql/schema.00005.sql | 1 + storage/mysql/schema.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 storage/mysql/schema.00005.sql diff --git a/storage/mysql/schema.00005.sql b/storage/mysql/schema.00005.sql new file mode 100644 index 0000000..92eecae --- /dev/null +++ b/storage/mysql/schema.00005.sql @@ -0,0 +1 @@ +ALTER TABLE command_results MODIFY result LONGTEXT; diff --git a/storage/mysql/schema.sql b/storage/mysql/schema.sql index 279d9b3..f5f4e79 100644 --- a/storage/mysql/schema.sql +++ b/storage/mysql/schema.sql @@ -162,7 +162,7 @@ CREATE TABLE command_results ( id VARCHAR(255) NOT NULL, command_uuid VARCHAR(127) NOT NULL, status VARCHAR(31) NOT NULL, - result TEXT NOT NULL, + result LONGTEXT NOT NULL, not_now_at TIMESTAMP NULL, not_now_tally INTEGER NOT NULL DEFAULT 0, From dc2817fecd7f3f12479c0eb843836a2410c6df9c Mon Sep 17 00:00:00 2001 From: Harry S Date: Wed, 4 Aug 2021 19:22:53 -0600 Subject: [PATCH 2/5] fix spacing --- storage/mysql/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/mysql/schema.sql b/storage/mysql/schema.sql index f5f4e79..3b9dd7e 100644 --- a/storage/mysql/schema.sql +++ b/storage/mysql/schema.sql @@ -162,7 +162,7 @@ CREATE TABLE command_results ( id VARCHAR(255) NOT NULL, command_uuid VARCHAR(127) NOT NULL, status VARCHAR(31) NOT NULL, - result LONGTEXT NOT NULL, + result LONGTEXT NOT NULL, not_now_at TIMESTAMP NULL, not_now_tally INTEGER NOT NULL DEFAULT 0, From cc5df8165df209d57512eb9e3c44af8c8b0f42c0 Mon Sep 17 00:00:00 2001 From: Harry S Date: Wed, 4 Aug 2021 19:29:42 -0600 Subject: [PATCH 3/5] use MEDIUMTEXT --- storage/mysql/schema.00005.sql | 2 +- storage/mysql/schema.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/mysql/schema.00005.sql b/storage/mysql/schema.00005.sql index 92eecae..c39c090 100644 --- a/storage/mysql/schema.00005.sql +++ b/storage/mysql/schema.00005.sql @@ -1 +1 @@ -ALTER TABLE command_results MODIFY result LONGTEXT; +ALTER TABLE command_results MODIFY result MEDIUMTEXT; diff --git a/storage/mysql/schema.sql b/storage/mysql/schema.sql index 3b9dd7e..f1ae8b4 100644 --- a/storage/mysql/schema.sql +++ b/storage/mysql/schema.sql @@ -162,7 +162,7 @@ CREATE TABLE command_results ( id VARCHAR(255) NOT NULL, command_uuid VARCHAR(127) NOT NULL, status VARCHAR(31) NOT NULL, - result LONGTEXT NOT NULL, + result MEDIUMTEXT NOT NULL, not_now_at TIMESTAMP NULL, not_now_tally INTEGER NOT NULL DEFAULT 0, From 37e5722a0300ea8eae13012c6409893036fbcb4d Mon Sep 17 00:00:00 2001 From: Harry S Date: Wed, 4 Aug 2021 19:35:04 -0600 Subject: [PATCH 4/5] fix spacing, again --- storage/mysql/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/mysql/schema.sql b/storage/mysql/schema.sql index f1ae8b4..16f020b 100644 --- a/storage/mysql/schema.sql +++ b/storage/mysql/schema.sql @@ -162,7 +162,7 @@ CREATE TABLE command_results ( id VARCHAR(255) NOT NULL, command_uuid VARCHAR(127) NOT NULL, status VARCHAR(31) NOT NULL, - result MEDIUMTEXT NOT NULL, + result MEDIUMTEXT NOT NULL, not_now_at TIMESTAMP NULL, not_now_tally INTEGER NOT NULL DEFAULT 0, From 2660758461b8dd7cd2b2bc93f0b803abb5b387b2 Mon Sep 17 00:00:00 2001 From: Harry S Date: Mon, 9 Aug 2021 10:13:36 -0600 Subject: [PATCH 5/5] Update storage/mysql/schema.00005.sql Co-authored-by: Jesse Peterson --- storage/mysql/schema.00005.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/mysql/schema.00005.sql b/storage/mysql/schema.00005.sql index c39c090..2f89a31 100644 --- a/storage/mysql/schema.00005.sql +++ b/storage/mysql/schema.00005.sql @@ -1 +1 @@ -ALTER TABLE command_results MODIFY result MEDIUMTEXT; +ALTER TABLE command_results MODIFY result MEDIUMTEXT NOT NULL;