Modify

Ticket #394 (closed defect: invalid)

Opened 4 years ago

Last modified 3 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:

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

comment:1 Changed 4 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 4 years ago by andrew

  • Status changed from infoneeded to closed
  • Resolution set to invalid
View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.