Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge error: The target table <name> of the DELETE is not updatable #223

Open
YaoOcelotl opened this issue Jun 15, 2016 · 2 comments
Open

Comments

@YaoOcelotl
Copy link
Contributor

During doctrine:fixtures:load, views mapped to entities are not excluded from purge.
Could you exclude tables/views that mach doctrine.dbal.schema_filter from the purge or add a configuration entry for table/view names that should be excluded from purge.

@Majkl578
Copy link
Contributor

Majkl578 commented Jan 23, 2018

Reviving this since it's still an issue. View mapped as read-only entity causes (on Postgres):

PDOException: SQLSTATE[55000]: Object not in prerequisite state: 7 ERROR:  cannot delete from view

@Ocramius
Copy link
Member

The fact that persist and remove semantics work on read-only views is correct btw - that bit doesn't need fixing.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants