From 82560ef1dcae79f782451668f5be1c26125958b0 Mon Sep 17 00:00:00 2001 From: Benjie Date: Sat, 7 Dec 2024 12:55:16 +0000 Subject: [PATCH 1/2] Fix graphile-worker example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2883bfe..5316d3b 100644 --- a/README.md +++ b/README.md @@ -498,7 +498,7 @@ environmental variables being set: }, "afterReset": [ "afterReset.sql", - { "_": "command", "command": "npx --no-install graphile-worker --once" } + { "_": "command", "command": "DATABASE_URL=\"$GM_DBURL\" npx --no-install graphile-worker --schema-only" } ], "afterAllMigrations": [ { From 2df6fdcc61bf3974d01191897d9368dc2440ea26 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Sat, 7 Dec 2024 12:58:09 +0000 Subject: [PATCH 2/2] Fix formatting --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5316d3b..92d18a8 100644 --- a/README.md +++ b/README.md @@ -498,7 +498,10 @@ environmental variables being set: }, "afterReset": [ "afterReset.sql", - { "_": "command", "command": "DATABASE_URL=\"$GM_DBURL\" npx --no-install graphile-worker --schema-only" } + { + "_": "command", + "command": "DATABASE_URL=\"$GM_DBURL\" npx --no-install graphile-worker --schema-only" + } ], "afterAllMigrations": [ {