We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29b11a3 commit 3003038Copy full SHA for 3003038
.github/workflows/test.yml
@@ -157,8 +157,8 @@ jobs:
157
- name: verify schema.sql is committed
158
run: |
159
docker compose -f migrations/docker-compose.yaml up db dbmate --abort-on-container-exit
160
- if ! git diff --exit-code --quiet migrations/schema.sql; then
+ if ! git diff --exit-code --quiet migrations/schema-${{ env.PGMAJOR }}.sql; then
161
echo "Detected changes in schema.sql:"
162
- git diff migrations/schema.sql
+ git diff migrations/schema-${{ env.PGMAJOR }}.sql
163
exit 1
164
fi
0 commit comments