Skip to content

Conversation

@yjukaku
Copy link
Contributor

@yjukaku yjukaku commented Jun 5, 2018

Continuing on the work from #246, but this time applying the idea to the destroy callbacks.

With this fix, destroying an item in a list that has a unique DB constraint on the position column should not raise a DB error, as long as the sequential_updates option is enabled.

Fixes #267

@brendon
Copy link
Owner

brendon commented Jun 5, 2018

Looks good to me! Thanks @yjukaku :D

@brendon brendon merged commit 33851d6 into brendon:master Jun 5, 2018
@brendon
Copy link
Owner

brendon commented Jun 5, 2018

Released as 0.9.13

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.

Unique constraint violation on move_higher, move_lower, destroy

2 participants