Skip to content

Commit 4e1373f

Browse files
committed
ignore \ psql commands
1 parent 4f32284 commit 4e1373f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/database.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
run: |
176176
pg_dump -U dirigent -h localhost dirigent \
177177
--schema-only --no-comments --no-privileges --no-owner \
178-
| grep -vE '^(SET |SELECT |$)' \
178+
| grep -vE '^(SET |SELECT |GRANT |REVOKE |\\|$)' \
179179
| sort \
180180
> /tmp/schema_baseline.sql
181181
pg_dump -U dirigent -h localhost dirigent \
@@ -206,7 +206,7 @@ jobs:
206206
run: |
207207
pg_dump -U dirigent -h localhost dirigent \
208208
--schema-only --no-comments --no-privileges --no-owner \
209-
| grep -vE '^(SET |SELECT |$)' \
209+
| grep -vE '^(SET |SELECT |GRANT |REVOKE |\\|$)' \
210210
| sort \
211211
> /tmp/schema_reverted.sql
212212
pg_dump -U dirigent -h localhost dirigent \

0 commit comments

Comments
 (0)