pending triggers error with 'manage.py migrate'

Stephen Finucane stephen at that.guru
Tue Jun 13 05:31:54 AEST 2017


On Mon, 2017-06-12 at 12:53 -0400, Aaron Conole wrote:
> I'm trying to upgrade an older patchwork instance I have, and it seems
> to be failing when I do a 'migrate' with the specific error:
> 
> django.db.utils.OperationalError: cannot ALTER TABLE "patchwork_series" because it has pending
> trigger events
> 
> I've made sure to update django-filter and django-filters to be up to
> date, along with Django.  I must have missed a step somewhere, has this
> been seen before?  Google search was not helpful, and my knowledge of
> Django is pretty thin.

I'm thinking this is a DB error, rather than something Django-specific. Which backend are you using,
and what migration is is failing on? The full output would be helpful.

Cheers,
Stephen


More information about the Patchwork mailing list