From 419e326977902a0d2b3342e7e49f248ab90f336e Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 10 Oct 2022 23:03:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0update.sh=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 1adea80..8a649f4 100755 --- a/update.sh +++ b/update.sh @@ -1,5 +1,5 @@ # 先备份数据库文件再拉取更新 $(date "+%Y%m%d%H%M%S")当前时间年月日时分秒 -cp /var/www/html/ptools/db/db.sqlite3 /var/www/html/ptools/db/db.sqlite3-$(date "+%Y%m%d%H%M%S") +cp /ptools/db/db.sqlite3 /ptools/db/db.sqlite3-$(date "+%Y%m%d%H%M%S") git pull pip install -r requirements.txt python manage.py makemigrations