diff options
Diffstat (limited to 'modules/poll/poll.install')
-rw-r--r-- | modules/poll/poll.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll/poll.install b/modules/poll/poll.install index 5998743dc..4859747c1 100644 --- a/modules/poll/poll.install +++ b/modules/poll/poll.install @@ -120,10 +120,10 @@ function poll_schema() { 'description' => t('The IP address this vote is from unless the voter was logged in.'), ), ), + 'primary key' => array('nid', 'uid', 'hostname'), 'indexes' => array( 'hostname' => array('hostname'), - 'nid' => array('nid'), - 'uid' => array('uid') + 'uid' => array('uid'), ), ); |