This debug message was to noisy but it is needed in development (where debug-mode...
[mailer.git] / inc / extensions / ext-sponsor.php
index 98eb105a8930027ab47b9d319187c2f0744bf8a3..49305ebdfb4023d86104c03cff871654c6ab1ae2 100644 (file)
@@ -92,7 +92,7 @@ switch (getExtensionMode()) {
 `last_payment` FLOAT(7,2) UNSIGNED NOT NULL DEFAULT 0.00,
 `last_currency` VARCHAR(255) NOT NULL DEFAULT '€',
 PRIMARY KEY (`id`),
-UNIQUE (`hash`),
+UNIQUE INDEX (`hash`),
 INDEX (`refid`),
 INDEX (`email`)",
                        'Main sponsor data');
@@ -153,7 +153,7 @@ INDEX (`ext_name`)",
 `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 PRIMARY KEY (`id`),
 UNIQUE INDEX `action_what` (`action`,`what`),
-UNIQUE (`what`),
+UNIQUE INDEX (`what`),
 INDEX (`action`)",
                        'Sponsor menu');
                //