Last active
December 5, 2022 17:57
-
-
Save abdulwahidgul24085/795e5538a24f796d3e285584b3e66cb5 to your computer and use it in GitHub Desktop.
Delete all Migrations in Django project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -path "*/migrations/*.py" -not -path "./env/*" -not -name "__init__.py" -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To not delete migrations in the env python packages. Crazy effect be careful.