From e87d8d98569df7405f76d17979d2e3254c811632 Mon Sep 17 00:00:00 2001
From: Max Kostikov <max@kostikov.co>
Date: Fri, 1 Nov 2019 17:46:28 +0100
Subject: Change llink column type and drop index

---
 install/schema_mysql.sql | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'install/schema_mysql.sql')

diff --git a/install/schema_mysql.sql b/install/schema_mysql.sql
index 7faeb93dd..b0d3dd7ba 100644
--- a/install/schema_mysql.sql
+++ b/install/schema_mysql.sql
@@ -595,7 +595,7 @@ CREATE TABLE IF NOT EXISTS `item` (
   `layout_mid` char(191) NOT NULL DEFAULT '',
   `postopts` text NOT NULL,
   `route` text NOT NULL,
-  `llink` char(191) NOT NULL DEFAULT '',
+  `llink` text NOT NULL DEFAULT '',
   `plink` text NOT NULL,
   `resource_id` char(191) NOT NULL DEFAULT '',
   `resource_type` char(16) NOT NULL DEFAULT '',
@@ -659,7 +659,6 @@ CREATE TABLE IF NOT EXISTS `item` (
   KEY `commented` (`commented`),
   KEY `verb` (`verb`),
   KEY `obj_type` (`obj_type`),
-  KEY `llink` (`llink`),
   KEY `expires` (`expires`),
   KEY `revision` (`revision`),
   KEY `mimetype` (`mimetype`),
-- 
cgit v1.2.3

