From c8d54b28e2ff24dc8a27c2a41b586a6db9c178ef Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 3 Dec 2020 14:03:42 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jms b/jms index e92c1c236..56f5ede59 100755 --- a/jms +++ b/jms @@ -96,7 +96,7 @@ def check_migrations(): print("You should run ./PROC upgrade first, 请先运行 ./PROC upgrade, 进行表结构变更") -def make_migrations(): +def perform_db_migrate(): logging.info("Check database structure change ...") os.chdir(os.path.join(BASE_DIR, 'apps')) logging.info("Migrate model change to database ...") @@ -524,7 +524,7 @@ def show_service_status(s): def upgrade(): collect_static() - make_migrations() + perform_db_migrate() if __name__ == '__main__':