From 6aa361a2e7b0499f70c222994d33a57c401c3ff1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 19 Feb 2023 22:26:36 +0200 Subject: [PATCH] minor fix to the migration sql command --- migrations/20230219-message-search.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/20230219-message-search.sql b/migrations/20230219-message-search.sql index 9388ec250..8041079d4 100644 --- a/migrations/20230219-message-search.sql +++ b/migrations/20230219-message-search.sql @@ -1 +1 @@ -update comments set body=body_html where body is null and sentto is not null and parent_submission is null; +update comments set body=body_html where body is null and sentto is not null and parent_submission is null and length(body_html) < 10001;