ADD UNIQUE ... what? INDEX now. And auto-unregistration of missing filter functions...
[mailer.git] / inc / extensions / ext-newsletter.php
index edb0159919464ac35f9bb4665ffa96c6738175c5..895f1f6d4f4f432908f76ca0d25d70c7f44b4030 100644 (file)
@@ -179,7 +179,7 @@ INDEX `newsletter_id` (`nl_id`)",
 `nl_order_placed` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
 `nl_order_accepted` ENUM('Y','N') NOT NULL DEFAULT 'N',
 PRIMARY KEY (`nl_order_id`),
-UNIQUE `sponsor_nl_topic` (`nl_sponsor_id`,`nl_id`,`nl_topic_id`),
+UNIQUE INDEX `sponsor_nl_topic` (`nl_sponsor_id`,`nl_id`,`nl_topic_id`),
 INDEX `topic` (`nl_topic_id`)",
                                        'Newsletter orders');