Move install-db-schema from afterReset to beforeAllMigrations
还没有人认领这个 Issue。
评估
调研方向
首先定位 afterReset 和 beforeAllMigrations 的 migration lifecycle 配置,然后跟踪 yarn workspace @app/worker install-db-schema 在哪里被调用,以及 Procfile 中已移除的 wipe-if-demo 脚本如何影响 production。完成的标准是 worker schema 在 migrations 之前就已存在,并且 registration 不再产生 PostgreSQL ERR_3F000。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 226
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graphile/starter 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
-
🐛 bug help wanted
难度 3/5 1-2 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 18/100
-
TFA & RBAC未关闭
难度 5/5 一周以上 新手友好度 20/100
-
username sanitization is case sensitive; column is citext可能已有人在做 @hydrandt 于 1812 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 50/100
相似的 Issue
-
foreground-up-signals-live: delivery-repair cell expects a spawn suggestion status no longer prints未关闭bug triage:owned
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 78/100
redhat-developer/rhdh-plugin-export-overlays#4905 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
directus/directus#28558 · 1 条评论 ·
维护者通常 2 天内回复
-
review: medium
难度 2/5 1-3 小时 新手友好度 78/100
1lck/Lithe-IDEA#2432 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
cloudflare/workers-sdk#17189 ·
维护者通常 1 天内回复