Remove / Reset your migrations¶
Important
Unless you know what you’re doing, both of these commands should not be used once your project has gone live. In other words, they become essentially useless once real users start interacting with your application.
rm-migrations¶
Usage: rm-migrations [--skip-git-check] [APPS_DIR] [-h] [--completion COMPLETION]
Remove all migrations for the specified applications directory, intended only for development.
Options
[--skip-git-check] Do not check if your git repo is clean. (Default: False)
Arguments
[APPS_DIR] The path to your django apps directory.
Help
[-h, --help] Show this message and exit.
[--completion COMPLETION] Use --completion generate to print shell-specific completion source. Valid options: generate, complete.