summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-01 18:18:51 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-01 18:18:51 +0000
commitfc6a287538a9a9490b6b775db5c94fd8228830a6 (patch)
treec8353b1cda33a03b8b173310bbe228c1fc85c130
parent6684020ee63ff4cd12035e5edd8143f8b27409e9 (diff)
Fixing a few foreign keys
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1489 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--sql/Pg-database.sql4
1 files changed, 2 insertions, 2 deletions
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,