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 fd81b55 commit 48ff543
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/migration-db-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
- name: Collect the migration diff
continue-on-error: false
run: |
yarn prisma migrate diff --from-url "$PROD_DATABASE_URL" --to-url "mysql://root:[email protected]:3306/db" --script >> migration-message.txt
set -e
yarn prisma migrate diff --from-url "$PROD_DATABASE_URL" --to-url "mysql://root:[email protected]:3306/db" --script
# echo "The following migration will be applied to the production database:" >> migration-message.txt
# echo "" >> migration-message.txt
# echo "\`\`\`sql" >> migration-message.txt
Expand Down

0 comments on commit 48ff543

Please sign in to comment.