I have a Django app deployed on DjangoZoom. People have been signing up, so there are users in that database.
I want to restructure the database of one of my apps within the project. My plan was to drop all the tables then do syncdb
to establish the new structure. Then, I would add all the content from the site back by installing locally-created fixtures on the production database.
The problem is I would lose all this user data with the plan. How do I just drop the relevant tables (the ones for which I can re-load the content with fixtures) and leave the auth tables intact? Please note that on DjangoZoom I only have the ability to run manage.py commands with --noinput
and I can not access the database directly. Also, my project is in Django 1.3, so using manage.py reset app_name
has been deprecated.
I suppose I could do south migrations for this, but it is a relatively simple change and since I have all the data in fixtures anyway it doesn't seem worth it. Any suggestions?