summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2007-01-06 06:22:12 +0000
committerChristian Fowler <spider@viovio.com>2007-01-06 06:22:12 +0000
commit0d913f57582229279916b9ff29645389e4b13a2c (patch)
tree9fec2c3f10f9338aa9aafe26708d64ff7e7487d2 /admin
parent5d8919dbedc84426f122338d5c05d39fc8804a75 (diff)
downloadnewsletters-0d913f57582229279916b9ff29645389e4b13a2c.tar.gz
newsletters-0d913f57582229279916b9ff29645389e4b13a2c.tar.bz2
newsletters-0d913f57582229279916b9ff29645389e4b13a2c.zip
massive clean up to newsletters - improve usability for listing, editing, creating, and subscriptions
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 83dcc60..1189960 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -98,7 +98,7 @@ $indices = array (
'mailq_email_idx' => array( 'table' => 'mail_queue', 'cols' => 'email', 'opts' => NULL ),
'mailq_user_idx' => array( 'table' => 'mail_queue', 'cols' => 'user_id', 'opts' => NULL ),
'mailq_content_idx' => array( 'table' => 'mail_queue', 'cols' => 'content_id', 'opts' => NULL ),
- 'mailq_user_content_idx' => array( 'table' => 'mail_queue', 'cols' => 'content_id', 'opts' => array( 'UNIQUE' ) ),
+ 'mailq_user_content_idx' => array( 'table' => 'mail_queue', 'cols' => array('content_id','user_id'), 'opts' => array( 'UNIQUE' ) ),
'mailq_sent_idx' => array( 'table' => 'mail_queue', 'cols' => 'sent_date', 'opts' => NULL ),
);
$gBitInstaller->registerSchemaIndexes( NEWSLETTERS_PKG_NAME, $indices );