1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-09-23 13:42:40 +01:00

Add rule for django south inconsistent migrations

This commit is contained in:
nvbn
2015-05-21 00:55:23 +03:00
parent e7d7b80c09
commit c65fdd0f81
4 changed files with 59 additions and 7 deletions

View File

@@ -27,13 +27,13 @@ def stderr():
south.exceptions.GhostMigrations:
! These migrations are in the database but not on disk:
<tracker: 0033_auto__...>
<tracker: 0034_fill_...>
<tracker: 0035_rename_...>
<qm_auth: 0003_add_...>
<qm_auth: 0004_denormalize_...>
<tracker: 0033_auto....>
<tracker: 0034_fill...>
<app1: 0033_auto__...>
<app1: 0034_fill_...>
<app1: 0035_rename_...>
<app2: 0003_add_...>
<app2: 0004_denormalize_...>
<app1: 0033_auto....>
<app1: 0034_fill...>
! I'm not trusting myself; either fix this yourself by fiddling
! with the south_migrationhistory table, or pass --delete-ghost-migrations
! to South to have it delete ALL of these records (this may not be good).