Ticket #394 (closed defect: invalid)

Opened 6 years ago

Last modified 4 years ago

a single drop column migration hangs up

Reported by: anonymous Owned by: andrew
Priority: major Milestone: 0.7
Component: migrations Version: 0.7-rc1
Keywords: Cc:


def forwards(self, orm):

# Deleting field 'Article.body_txt'
db.delete_column('news_article', 'body_txt')

The migration hangs without any response.

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to infoneeded

Are you on postgres? Occasionally something (sometimes a crashed South) will have an exclusive lock on the table, and you'll need to either clear the lock or restart the database server, whichever is easier.

This isn't really a bug in South, you'd get the same hang if you did the ALTER TABLE command in a shell.

comment:2 Changed 6 years ago by andrew

  • Status changed from infoneeded to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.