looks like your issue caused by sequence values inconsistency. Simple workaround - try to apply migrations few times(3-4)