You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃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.
描述您想要的功能:
在审核中,有一些特殊的字段,如企业ID,员工ID,租户ID等等,这些字段有很强的业务性质,一般分布在多张表中并且大概率都是重要的查询条件。希望这些特殊的字段在创建时数据结构统一,并且先添加一下索引。
描述您考虑过的解决/替代方案:
添加了一个审核项:
// 如果表包含以下列,列必须有索引。可指定多个列,以逗号分隔.列类型可选. 格式: 列名 [列类型,可选],... "c1 , c2 int "
ColumnsMustHaveIndex string
主要限制一定有索引的列,基础上可以限制列的类型;
不知知否有相同需求,尝试PR
可参考文档,资料,引用等:
The text was updated successfully, but these errors were encountered: