Index: node_limit_role/node_limit_role.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_limit/node_limit_role/Attic/node_limit_role.install,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 node_limit_role.install
--- node_limit_role/node_limit_role.install	11 Apr 2009 19:00:23 -0000	1.1.2.2
+++ node_limit_role/node_limit_role.install	11 Dec 2010 00:43:49 -0000
@@ -38,7 +38,9 @@
      * this means that in the future, we may allow a limit to be applied to more
      * than one user.  right now, though, its one-user-per-limit
      */
-    'primary key' => array('lid', 'rid')
+    'primary key' => array('rid'),
+    'indexes' => array('lid_rid' => array('lid', 'rid')),
+
   );
 
   return $schema;
Index: node_limit_user/node_limit_user.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/node_limit/node_limit_user/Attic/node_limit_user.install,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 node_limit_user.install
--- node_limit_user/node_limit_user.install	11 Apr 2009 19:00:25 -0000	1.1.2.3
+++ node_limit_user/node_limit_user.install	11 Dec 2010 00:43:49 -0000
@@ -38,7 +38,8 @@
      * this means that in the future, we may allow a limit to be applied to more
      * than one user.  right now, though, its one-user-per-limit
      */
-    'primary key' => array('lid', 'uid')
+    'primary key' => array('uid'),
+    'indexes' => array('lid_uid' => array('lid', 'uid')),
   );
 
   return $schema;
