[Development] Drop DB and create new + migrate #4853
Unanswered
LavissaWoW
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Are you using the devcontainer? Deleting the db and media folder in dev manually should do the trick. Then run the setup dev task like described in the devcontainer docs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Working on apps where others are creating migrations that come in with merging master creates a small headache to patch up the migrations. After sorting file names and dependencies, just resetting DB state would be nice.
However, I can't seem to find an easy way to drop my entire db via
invoke
ormanage.py
in order to re-run all migrations and repopulate the db with the demo dataset.And tips?
Beta Was this translation helpful? Give feedback.
All reactions