simplethings/EntityAudit — Issue #6: Problem, how use PostgreSQL and Sonata sandbox
Author: suncat2000
Created: 2012-01-23 19:31:40+00:00
State: open

PostgreSQL 9.1 and [sonata-sandbox](https://github.com/sonata-project/sandbox/)
[Issue in sonata-project](https://github.com/sonata-project/sandbox/issues/14)
When used PostgreSQL, command ```sonata:page:update-core-routes``` raises an exception:

[PDOException]
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates
unique constraint "page__page_audit_pkey" DETAIL: Key (id, rev)=(4, 0) already exists.

Before this command run:
```doctrine:database:create```
```doctrine:schema:create```
```doctrine:fixtures:load```

When used MySQL, everything is working properly