Modify

Ticket #355 (closed enhancement: fixed)

Opened 4 years ago

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

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

comment:1 Changed 4 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.

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.