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));