While trying to reset my python Django project migrations due to 1st command my whole is deleted.
How can I recover?
find . - path "*/migrations/*.py" -not -name " __init.py__ " -delete **Wrong command
find . -path "/migrations/.py" -not -name " init.py " -delete
find . -path "/migrations/.pyc" -delete
-delete
is permanent. – Esther Jun 20 '22 at 14:20