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 Oct 31, 2023
1 parent 5c03ce8 commit b3940d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/capture_new_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
number1=${{ env.SECOND_QUERY }}
number2=${{ env.FIRST_QUERY }}
diff=$((number1 - number2))
result=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
data=$(mysql -h 127.0.0.1 -uedxapp001 -ppassword -e "select app, name from django_migrations ORDER by -id limit $diff;" edxapp;)
formatted_data=$(echo "$data" | tr '\t' ' ')
echo "Query Result: $formatted_data"
echo "CUSTOM_MESSAGE=$formatted_data" >> $GITHUB_ENV
Expand Down

0 comments on commit b3940d4

Please sign in to comment.