Skip to content

Commit

Permalink
Update delete_makemigrations.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
leffss authored Dec 24, 2019
1 parent 7552b0a commit 41d6c7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions delete_makemigrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ cd apps

lists=$(ls)
for i in $lists;do
rm -f $i/migrations/000*.py
ls -d $i/migrations/* | grep -v '__init__.py' | xargs rm -rf
done

0 comments on commit 41d6c7e

Please sign in to comment.