From 0acdb6139bb08e2ac64c1ebd8dcf7a992970aa65 Mon Sep 17 00:00:00 2001 From: Eric Cabrel TIOGO Date: Sun, 1 Sep 2024 18:41:54 +0200 Subject: [PATCH] fix: migration diff step n tests --- .github/workflows/migration-db-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/migration-db-check.yml b/.github/workflows/migration-db-check.yml index e86a871..649b059 100644 --- a/.github/workflows/migration-db-check.yml +++ b/.github/workflows/migration-db-check.yml @@ -37,7 +37,7 @@ 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 "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