Skip to content

Doctrine installation problem when a module is created with an entity User #17

@gregorybesson

Description

@gregorybesson

In this case, the command : php doctrine-module.php orm:schema-tool:create doesn't create all the tables of AdfabUser.

Because the Doctrine driver zfcuser_entity is redeclared in the new module, Doctrine doesn't look for the AdfabUser\Entity path anymore.

A solution would be to create subdirectories for each entity in the AdfabUser\Entity path so that another module can replace only one definition by its one...

Impacts to be studied

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions