From fc6a287538a9a9490b6b775db5c94fd8228830a6 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 1 Sep 2007 18:18:51 +0000 Subject: Fixing a few foreign keys git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1489 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/Pg-database.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql') diff --git a/sql/Pg-database.sql b/sql/Pg-database.sql index e0010afb..8fca13ac 100644 --- a/sql/Pg-database.sql +++ b/sql/Pg-database.sql @@ -589,7 +589,7 @@ CREATE TABLE ar ( notes text, curr char(3), ordnumber text, - person_id integer references person(id), + person_id integer references employee(entity_id), till varchar(20), quonumber text, intnotes text, @@ -620,7 +620,7 @@ CREATE TABLE ap ( ordnumber text, curr char(3), notes text, - person_id integer references person(id), + person_id integer references employee(entity_id), till varchar(20), quonumber text, intnotes text, -- cgit v1.2.3