Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve duplicating for a doc with databases #11602

Closed
TCOTC opened this issue May 31, 2024 · 2 comments
Closed

Improve duplicating for a doc with databases #11602

TCOTC opened this issue May 31, 2024 · 2 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented May 31, 2024

文档 复制为副本 / 导入 后,清除无效的数据库关联

  1. 目前要在副本文档右上角点一下数据库标识才会清除:

    default.webm
  2. 如果文档内的数据库绑定了该文档,复制为副本之后是否应该创建一个数据库完整副本来绑定副本文档呢?
    (说人话:新建副本数据库绑定副本文档)

    关联 文档 复制为副本 时,其中的数据库是否也需要 复制为完整副本 #11551

@88250 88250 self-assigned this May 31, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented May 31, 2024

  1. 文档导入后,清除无效的数据库关联

@TCOTC TCOTC changed the title 文档 复制为副本 后,清除关联数据库 文档 复制为副本 后,清除无效的数据库关联 May 31, 2024
@TCOTC TCOTC changed the title 文档 复制为副本 后,清除无效的数据库关联 文档 复制为副本 / 导入 后,清除无效的数据库关联 May 31, 2024
@88250 88250 added this to the 3.1.0 milestone Jun 16, 2024
@88250 88250 changed the title 文档 复制为副本 / 导入 后,清除无效的数据库关联 Improve duplicating for a doc with databases Jun 16, 2024
@88250
Copy link
Member

88250 commented Jun 16, 2024

改进点:

  1. 复制文档副本时关联其中的块和数据库(即创建镜像关联),清空文档块数据库角标
  2. 删除文档时解绑数据库和块的关联(即删除镜像关联)

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

No branches or pull requests

2 participants