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

Modifying filtered DBs via DatabaseMapping #344

Open
manuelma opened this issue Feb 1, 2024 · 0 comments
Open

Modifying filtered DBs via DatabaseMapping #344

manuelma opened this issue Feb 1, 2024 · 0 comments
Assignees

Comments

@manuelma
Copy link
Collaborator

manuelma commented Feb 1, 2024

Say we apply a scenario filter over a DB that excludes some of the entities (because of entity_alternative definitions).

Then we add some of the filtered entities via a DatabaseMapping. The DatabaseMapping won't complain that the entities already exist because for all practical effects they are invisible to it. Then we commit, and we find a UNIQUE key violation.

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

1 participant