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

manage.py updatecarddb doesn't like cards moving between accounts #20

Open
zymurgic opened this issue Jul 11, 2019 · 0 comments
Open

manage.py updatecarddb doesn't like cards moving between accounts #20

zymurgic opened this issue Jul 11, 2019 · 0 comments

Comments

@zymurgic
Copy link

If a card is removed from one members account, and added to another within a refresh cycle (currently 10 minutes), the updatecardb will fail due to a constraint violation since it seems to want to add before delete.

django.db.utils.IntegrityError: duplicate key value violates unique constraint "server_card_card_id_key"
DETAIL: Key (card_id)=(xxxxxxxxxxxxxx) already exists.

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