--- path_redirect.install 2008-03-07 20:10:02.000000000 -0600 +++ path_redirect.install 2008-04-13 21:19:18.000000000 -0500 @@ -125,10 +125,14 @@ function path_redirect_update_4() { array( 'type' => 'varchar', 'length' => 255, - 'not null' => FALSE, + 'not null' => TRUE, 'description' => t('The query string to send to the destination.'), ) ); + db_drop_primary_key($ret, 'path_redirect'); + db_drop_unique_key($ret, 'path_redirect', 'rid'); + db_add_primary_key($ret, 'path_redirect', array('rid')); + db_add_unique_key($ret, 'path_redirect', 'path', array('path')); return $ret; }