Skip to content

Commit 8cc8c11

Browse files
authored
Fix graphile-worker example in README (#231)
2 parents 1d19d3c + 2df6fdc commit 8cc8c11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,10 @@ environmental variables being set:
498498
},
499499
"afterReset": [
500500
"afterReset.sql",
501-
{ "_": "command", "command": "npx --no-install graphile-worker --once" }
501+
{
502+
"_": "command",
503+
"command": "DATABASE_URL=\"$GM_DBURL\" npx --no-install graphile-worker --schema-only"
504+
}
502505
],
503506
"afterAllMigrations": [
504507
{

0 commit comments

Comments
 (0)