jumpserver/utils/clean_migrations.sh

12 lines
136 B
Bash
Raw Normal View History

2016-11-25 14:45:47 +00:00
#!/bin/bash
#
cd ../apps
for d in $(ls);do
if [ -d $d ] && [ -d $d/migrations ];then
rm -f $d/migrations/00*
fi
2016-11-25 14:45:47 +00:00
done