Skip to content

Move install-db-schema from afterReset to beforeAllMigrations #178

Open
@zacherkkila

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions