From 632efed0ee3683f647ab8b4fb9ab3cb12ee33be9 Mon Sep 17 00:00:00 2001 From: Eric Cabrel TIOGO Date: Sun, 1 Sep 2024 18:47:22 +0200 Subject: [PATCH] fix: migration diff step n tests --- .github/workflows/migration-db-check.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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