Skip to content

Commit

Permalink
build: capturing new migrations.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Nov 1, 2023
1 parent 83bc48e commit 6172e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6172e08

Please sign in to comment.