From c5d1ed126e515d42c2920f78fae1c92c5679209b Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 26 Dec 2018 19:20:32 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9Jms=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jms | 3 --- 1 file changed, 3 deletions(-) diff --git a/jms b/jms index 613de2fe3..f1d0a6944 100755 --- a/jms +++ b/jms @@ -58,9 +58,6 @@ def check_database_connection(): def make_migrations(): print("Check database structure change ...") os.chdir(os.path.join(BASE_DIR, 'apps')) - if len(os.listdir('assets/migrations')) < 4: - print("Make database migrations ...") - subprocess.call('python3 manage.py makemigrations', shell=True) print("Migrate model change to database ...") subprocess.call('python3 manage.py migrate', shell=True)