diff options
| author | Christian Fowler <spider@viovio.com> | 2006-10-07 19:43:28 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-10-07 19:43:28 +0000 |
| commit | a7b1bb11ef7d2be0fd6771bb6520cc821c671bd5 (patch) | |
| tree | 1d618461938789ef0fc4c5c7e40322be8ff585e6 /admin | |
| parent | 6c0ef4d4b60ce9edcd848743c1e4682f3ea6d3f4 (diff) | |
| download | newsletters-a7b1bb11ef7d2be0fd6771bb6520cc821c671bd5.tar.gz newsletters-a7b1bb11ef7d2be0fd6771bb6520cc821c671bd5.tar.bz2 newsletters-a7b1bb11ef7d2be0fd6771bb6520cc821c671bd5.zip | |
schema fixes
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/schema_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php index dbcfc93..83dcc60 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -57,7 +57,7 @@ $tables = array( ", 'mail_queue' => " - mail_queue_id PRIMARY, + mail_queue_id I8 PRIMARY, content_id I4 NOTNULL, email C(160) NOTNULL, nl_content_id I4 NOTNULL, @@ -90,7 +90,7 @@ $gBitInstaller->registerPackageInfo( NEWSLETTERS_PKG_NAME, array( // ### Indexes $indices = array ( - 'mail_sub_nl_idx' => array( 'table' => 'mail_subscriptions', 'cols' => 'nl_content_id', 'opts' => NULL ), + 'mail_sub_nl_idx' => array( 'table' => 'mail_subscriptions', 'cols' => 'content_id', 'opts' => NULL ), 'mail_sub_user_idx' => array( 'table' => 'mail_subscriptions', 'cols' => 'user_id', 'opts' => NULL ), 'mail_sub_email_idx' => array( 'table' => 'mail_subscriptions', 'cols' => 'email', 'opts' => NULL ), 'nl_ed_nl_idx' => array( 'table' => 'newsletters_editions', 'cols' => 'nl_content_id', 'opts' => NULL ), |
