mirror of https://github.com/jumpserver/jumpserver
parent
ec8106e43d
commit
15f6d5c9c0
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
|
|
||||||
for app in users assets perms audits ops applications;do
|
cd ../apps
|
||||||
rm -f ../apps/$app/migrations/00*
|
|
||||||
|
for d in $(ls);do
|
||||||
|
if [ -d $d ] && [ -d $d/migrations ];then
|
||||||
|
rm -f $d/migrations/00*
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in new issue