From 03eaef085d960aca5f6b8c97dc89c02fe215d06c Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Tue, 9 Oct 2007 22:08:18 +0000
Subject: User::fetch_config now works, and there are some other auth fixes
 here too

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1730 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/Pg-database.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sql/Pg-database.sql')

diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql
index 345908b0..d4af4130 100644
--- a/sql/Pg-database.sql
+++ b/sql/Pg-database.sql
@@ -980,7 +980,7 @@ CREATE TABLE translation (
 );
 --
 CREATE TABLE user_preference (
-    user_id int PRIMARY KEY REFERENCES users(id),
+    id int PRIMARY KEY REFERENCES users(id),
     language varchar(6) REFERENCES language(code),
     stylesheet text default 'ledgersmb.css' not null,
     printer text,
-- 
cgit v1.2.3

