Modify ↓
Ticket #394 (closed defect: invalid)
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: |
Description
def forwards(self, orm):
# Deleting field 'Article.body_txt'
db.delete_column('news_article', 'body_txt')
The migration hangs without any response.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

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.