mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #212] [Bug] 一个数据库的问题 #132
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fudiwei on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/212
表
deployments的domain这列,从字面意思上看应该存储的是“域名”(即表domains的domain列),但现在存储的却是“邮箱”(即表domains的email列)。见下图:
请问这是故意设计成这样的吗?
@usual2970 commented on GitHub (Oct 17, 2024):
这里的 domain 对应的就是 domains
这是 pocketbase 的设计,关系型的字段其实在底层存储的是 id(string),设置关系的时候没法指定显示哪个字段,pocketbase在渲染列表的时候自动选择了,他认为有意义的字段,比如 name、title。它这里选择了 email。
@fudiwei commented on GitHub (Oct 17, 2024):
明白了,谢谢
@usual2970 commented on GitHub (Oct 17, 2024):