[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing 1.3



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/