From 2ccfe14708e85398bf094b337218ce9607e67c1d Mon Sep 17 00:00:00 2001 From: wxa Date: Mon, 4 Mar 2019 15:13:36 +0300 Subject: [PATCH] Add an index to the newsletter links url [PREMIUM-114] --- lib/Config/Migrator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Config/Migrator.php b/lib/Config/Migrator.php index c32a3da52a..4edac0aecc 100644 --- a/lib/Config/Migrator.php +++ b/lib/Config/Migrator.php @@ -337,7 +337,8 @@ class Migrator { 'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,', 'PRIMARY KEY (id),', 'KEY newsletter_id (newsletter_id),', - 'KEY queue_id (queue_id)', + 'KEY queue_id (queue_id),', + 'KEY url (url(255))', ); return $this->sqlify(__FUNCTION__, $attributes); }