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

审核某些字段上要有索引及相应的数据类型 #174

Closed
soul-F opened this issue Mar 21, 2020 · 1 comment
Closed

审核某些字段上要有索引及相应的数据类型 #174

soul-F opened this issue Mar 21, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@soul-F
Copy link
Contributor

soul-F commented Mar 21, 2020

描述您想要的功能:
在审核中,有一些特殊的字段,如企业ID,员工ID,租户ID等等,这些字段有很强的业务性质,一般分布在多张表中并且大概率都是重要的查询条件。希望这些特殊的字段在创建时数据结构统一,并且先添加一下索引。

描述您考虑过的解决/替代方案:
添加了一个审核项:
// 如果表包含以下列,列必须有索引。可指定多个列,以逗号分隔.列类型可选. 格式: 列名 [列类型,可选],... "c1 , c2 int "
ColumnsMustHaveIndex string
主要限制一定有索引的列,基础上可以限制列的类型;
不知知否有相同需求,尝试PR

可参考文档,资料,引用等:

@stale
Copy link

stale bot commented Apr 4, 2020

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 4, 2020
@stale stale bot closed this as completed Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant