Modify

Ticket #343 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Ability to force a fake migration to a given state

Reported by: anonymous Owned by: andrew
Priority: minor Milestone: 0.7
Component: commands Version: 0.6.2
Keywords: Cc:

Description

There should be a flag to force a migration to a certain state even if there is a discrepancy between the disk and the database:

! These migrations are in the database but not on disk:

  • basic_profiles: 0004_otherusers_change

! I'm not trusting myself; fix this yourself by fiddling
! with the south_migrationhistory table.

The desired result would be that South deletes the record in south_migrationhistory '0004_otherusers_change' without requiring the user to login into the database and 'fiddling' with the table.

Attachments

Change History

comment:1 Changed 4 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 0.7

The new option --delete-ghost-migrations was committed in [043f5cd210cc], which I'd say means I can now close the ticket; it's the best solution I could come up with that will work for most people.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.