From a9d0efca5876ed22028a1de5f0c2e5ed9a65466a Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Mon, 30 Oct 2023 22:46:25 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index b1d512e77cfd..1dbea1064e12 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -121,7 +121,7 @@ jobs: - name: Verify executed migrations on master. run: | - mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app,name from django_migrations; ;" edxapp; + mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp; - name: Checkout branch repo uses: actions/checkout@v2 @@ -150,7 +150,7 @@ jobs: - name: Verify executed migrations on branch. run: | - mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app,name from django_migrations; ;" edxapp; + mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select count(*) from django_migrations;" edxapp; # This job aggregates test results. It's the required check for branch protection.