summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-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,