Explorar el Código

Update admin.sh

fix bug
EverYang hace 6 años
padre
commit
6c14b46ae6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      admin.sh

+ 1 - 0
admin.sh

@@ -71,6 +71,7 @@ function upgrade() {
 function migration() {
     echo "migration walle"
     echo "----------------"
+    source venv/bin/activate
     export FLASK_APP=waller.py
     flask db upgrade
     if [ $? == "0" ]; then