From 40864f2d6d8ce2b27165c8a0865970b163551cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20B=2E=20St=C3=B8vring?= Date: Tue, 13 Aug 2024 09:12:34 +0200 Subject: [PATCH 1/2] Update test-sql-queries.yml --- .github/workflows/test-sql-queries.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-sql-queries.yml b/.github/workflows/test-sql-queries.yml index 3130d29b..50015cd8 100644 --- a/.github/workflows/test-sql-queries.yml +++ b/.github/workflows/test-sql-queries.yml @@ -31,8 +31,8 @@ jobs: - name: Run create-tables.sql env: PGPASSWORD: postgres - run: psql -h localhost -U postgres -d testdb -f create-tables.sql + run: psql -v ON_ERROR_STOP=1 -h localhost -U postgres -d testdb -f create-tables.sql - name: Run drop-tables.sql env: PGPASSWORD: postgres - run: psql -h localhost -U postgres -d testdb -f drop-tables.sql + run: psql -v ON_ERROR_STOP=1 -h localhost -U postgres -d testdb -f drop-tables.sql From a0c71e2f1ca27072208c2f39004a03de29d2fe50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20B=2E=20St=C3=B8vring?= Date: Tue, 13 Aug 2024 09:16:29 +0200 Subject: [PATCH 2/2] Update drop-tables.sql --- drop-tables.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/drop-tables.sql b/drop-tables.sql index fbc46117..911baeb0 100644 --- a/drop-tables.sql +++ b/drop-tables.sql @@ -1,5 +1,4 @@ DROP TABLE oauth_tokens; -DROP TABLE verification_token; DROP TABLE accounts; DROP TABLE sessions; DROP TABLE users;