Add an index to the newsletter links url [PREMIUM-114]

This commit is contained in:
wxa
2019-03-04 15:13:36 +03:00
committed by M. Shull
parent abaf7e5c93
commit 2ccfe14708

View File

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