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