Migrate Stuff
That command is not a standard Django migrate command:
python manage.py migrate users --prune
What the parts mean
python manage.py migrate→ runs Django database migrations.users→ tells Django to migrate only theusersapp.--prune→ is not a normal option for Django'smigratecommand.
So, with standard Django, you'll likely get something like:
CommandError: unrecognized arguments: --prune
sdfdsfdsIf you meant makemigrations --prune
Django does have a --prune option for makemigrations:
python manage.py makemigrations users --prune
That is different. It removes nonexistent migration files from the migration state—specifically, references to migrations that no longer exist on disk. It does not delete database tables or undo applied migrations.
If you tell me where you got migrate users --prune from (or paste the command output), I can tell you exactly what that particular --prune is doing in your project.