Jira issue originally created by user csrinaldi:
I have a Postgres SQL database.
The Base has only one table "User" with two attributes (name and id).
"Id" is primary key.
The failure to execute the task:
php orm doctrine: convert-mapping - from-database yml / home / cristian / database.yml
[Doctrine \ ORM \ Mapping \ MappingException]
No identifier / primary key for Specified Entity 'User'. Every Entity must have for an identifier / primary key
Script to create the table:
CREATE TABLE "User"
id serial NOT NULL,
name character varying (55),
CONSTRAINT "User_pkey" PRIMARY KEY (id)
OIDS = FALSE
ALTER TABLE "User" OWNER TO postgres;
Comment created by @beberlei:
Fixed in DDC-929
Issue was closed with resolution "Fixed"