diff --git a/files/update/7079.sql b/files/update/7079.sql new file mode 100644 index 000000000..5867964a7 --- /dev/null +++ b/files/update/7079.sql @@ -0,0 +1,8 @@ +UNLOCK TABLES; + +-- Drop the existing index on TVALUE +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)); diff --git a/var.php b/var.php index 969fd5b0c..88c9eb0dc 100644 --- a/var.php +++ b/var.php @@ -73,7 +73,7 @@ /** * OCS' MySQL database version */ -define('GUI_VER', '7078'); +define('GUI_VER', '7079'); /**