Skip to content

Commit

Permalink
fix: migration diff step n tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Sep 1, 2024
1 parent 3c5a20a commit b74eaa5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/migration-db-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
working-directory: packages/domain
run: |
set -e
echo "The following migration will be applied to the production database:" >> migration-message.txt
echo "" >> migration-message.txt
echo "\`\`\`sql" >> migration-message.txt
yarn prisma migrate diff --from-url "$PROD_DATABASE_URL" --to-url "$DATABASE_URL" --script
# echo "The following migration will be applied to the production database:" >> migration-message.txt
# echo "" >> migration-message.txt
# echo "\`\`\`sql" >> migration-message.txt
# echo "\`\`\`" >> migration-message.txt
# echo "" >> migration-message.txt
# echo "" >> migration-message.txt
# echo "Please ensure your schema changes are compatible with the application code currently running in production." >> migration-message.txt
echo "\`\`\`" >> migration-message.txt
echo "" >> migration-message.txt
echo "" >> migration-message.txt
echo "Please ensure your schema changes are compatible with the application code currently running in production." >> migration-message.txt
- name: Comment pull request with the migration diff
uses: thollander/actions-comment-pull-request@v2
Expand Down

0 comments on commit b74eaa5

Please sign in to comment.