-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration strategy broken? #304
Comments
In short, no. Those instructions should say to temporary remove/rename 0002_q3c to avoid this error. At least that's what I do when running |
Sorry, you guys are right. I think those were written when we still set up Q3C manually. I need to finish up those instructions. The general rule of thumbs is: if you don't have a production site constantly used by users, you can safely remove all the migrations files, then run |
Now that we do have something deployed, should we change the instructions to simply running |
Following these instructions did not work for me:
https://github.com/askap-vast/vast-pipeline/blob/master/DEVELOPING.md#1-you-modify-modelspy
I modified the models and deleted the
0001_initial
migration file. Runningmakemigrations
then fails because the0002_q3c
migration explicitly depends on0001_initial
which now no longer exists.Does this work for anyone else?
The text was updated successfully, but these errors were encountered: