graphile / graphile/starter

Move install-db-schema from afterReset to beforeAllMigrations

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
1.8k
Forks
227
PR merge metrics
No merged PRs in 30d

Description

I believe this was handled by the `wipe-if-demo` script in the demo but I needed to manually run it in production since I removed that script from the `Procfile`. Not a huge deal but figured I would at least document it here to save someone else some time as it threw me for a little loop when I got the Postgres error.

Got the following error when I tried to register since the worker schema wasn't there

`Registration failed (Error code: ERR_3F000)`

Once I got the postgres logs running right on RDS it was fairly obvious, just had to run

`yarn workspace @app/worker install-db-schema`

and everything worked as intended

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.