Modify ↓
Ticket #355 (closed enhancement: fixed)
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: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

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.