From cec2e55f4e2961e23d572e7ff0c90a880dfbfc29 Mon Sep 17 00:00:00 2001 From: Lea9250 Date: Thu, 19 Sep 2024 10:40:22 +0200 Subject: [PATCH] fix(sql): fix sql statement in index creation --- files/update/7079.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/update/7079.sql b/files/update/7079.sql index 5867964a7..feeafd312 100644 --- a/files/update/7079.sql +++ b/files/update/7079.sql @@ -5,4 +5,4 @@ ALTER TABLE devices DROP INDEX TVALUE; -- Update column to TEXT and recreate the index ALTER TABLE devices MODIFY COLUMN TVALUE TEXT; -ADD INDEX TVALUE (TVALUE(255)); +ALTER TABLE devices ADD INDEX TVALUE (TVALUE(255));