Hi all,

I am encountering following error during 1.3 install:

Running "Insert myuser Person" sql:

ERROR:  insert or update on table "person" violates foreign key
constraint "person_entity_id_fkey"
DETAIL:  Key (entity_id)=(2) is not present in table "entity".

It seems that I have missed some step but going through the history
every thing looks ok.

Here is my 'entity' table:

mycompany=# select id, name from entity;
 id |       name
----+------------------
  0 | Inventory Entity
  1 | myuser
(2 rows)

So obviously entity_id 2 is missing.


Can somebody point me to the step which I have missed?

Regards
Armaghan

--
- Sql-Ledger hosting, docs and development
- http://www.ledger123.com/

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ledger-smb-users mailing list
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to