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

Fix: we should destroy missing resources first, create after #22

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

delphaber
Copy link
Member

@delphaber delphaber commented Feb 24, 2024

In case a user destroy and recreate a resource, e.g. an item type, with the same api_key, then in the migration we have to make sure to keep the same order (destroy -> create), otherwise we will trigger some uniqueness validations errors

https://3.basecamp.com/5656352/buckets/33592490/card_tables/cards/7069334077

In case a user destroy and recreate a resource, e.g. an item type, with
the same api_key, then in the migration we have to make sure to keep the
same order (destroy -> create), otherwise we will trigger some
uniqueness validations errors
@delphaber delphaber self-assigned this Feb 24, 2024
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

Successfully merging this pull request may close these issues.

1 participant