Ticket #355 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Addition for FAQ, or a warning somewhere for convert_to_south and migrate zero

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


If you convert an existing app to South, that has data in the DB

  ./manage.py convert_to_south myapp

Don't migrate backwards unless you have backups, or don't care about the data.

./manage.py migrate myapp zero

I just did it, and luckily I don't care about the data. I realize it was stupid now, but that's quite a potential disaster for someone that possibly just hasn't had a coffee yet, or enough sleep.

Change History

comment:1 Changed 6 years ago by andrew

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

Yes, that would be a Bad Thing. It's pointed out several places in the docs that migrations can delete things and you should always have backups, but I'll add another warning on the conversion page.

Note: See TracTickets for help on using tickets.