diff --git a/.github/workflows/migration-db-check.yml b/.github/workflows/migration-db-check.yml index 649b059..b39a2cc 100644 --- a/.github/workflows/migration-db-check.yml +++ b/.github/workflows/migration-db-check.yml @@ -37,14 +37,14 @@ jobs: - name: Collect the migration diff continue-on-error: false run: | - 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 >> 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 "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 - name: Comment pull request with the migration diff uses: thollander/actions-comment-pull-request@v2