--- custom_links.install.orig	2008-10-10 10:14:53.000000000 -0400
+++ custom_links.install	2008-10-10 10:18:06.000000000 -0400
@@ -25,7 +25,7 @@
       break;
     case 'pgsql':
       db_query("CREATE TABLE {custom_link} (
-        lid serial CHECK (nid >= 0),
+        lid serial CHECK (lid >= 0),
         link_key varchar(64) NOT NULL default '',
         title varchar(255) NOT NULL default '',
         path varchar(255) NOT NULL default '',
@@ -58,4 +58,4 @@
 
 function custom_links_uninstall() {
   db_query('DROP TABLE {custom_link}');
-} 
\ No newline at end of file
+} 
