Add an index to the newsletter links url [PREMIUM-114]
This commit is contained in:
@@ -337,7 +337,8 @@ class Migrator {
|
|||||||
'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
|
'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
|
||||||
'PRIMARY KEY (id),',
|
'PRIMARY KEY (id),',
|
||||||
'KEY newsletter_id (newsletter_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);
|
return $this->sqlify(__FUNCTION__, $attributes);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user