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