From 6172e08089f836f083ffc229b5a2f77f1b8bda2a Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Wed, 1 Nov 2023 15:04:29 +0500 Subject: [PATCH] build: capturing new migrations. --- .github/workflows/capture_new_migrations.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/capture_new_migrations.yml b/.github/workflows/capture_new_migrations.yml index 9496e99b99a2..8ea69efdcc75 100644 --- a/.github/workflows/capture_new_migrations.yml +++ b/.github/workflows/capture_new_migrations.yml @@ -178,6 +178,8 @@ jobs: if [ $number2 -gt $number1 ]; then data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select name from django_migrations ORDER by -id limit $diff;" edxapp;) echo "$data" > cleaned_data.txt + elif [ $number1 -gt $number2 ]; then + echo "Your PR removed migrations." > cleaned_data.txt fi shell: bash