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

如何增加/修改指定的Model #1250

Open
AiMovie opened this issue Jan 22, 2025 · 0 comments
Open

如何增加/修改指定的Model #1250

AiMovie opened this issue Jan 22, 2025 · 0 comments

Comments

@AiMovie
Copy link

AiMovie commented Jan 22, 2025

在生成model文件多时候,如何增加或者修改指定的表,而不修改历史的表结构,这样能够避免其他同事修改了测试环境的表结构,带到生产环节的问题。
例如:项目有A、B、C三个表,需要增加D表,而其他同事在测试环境修改了A表,这样全量生成model,就可能把A表的修改上到生产环境了

想实现:单独增加d表,不影响A、B、C表的Model,特别是gen.go文件,该如何做?

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

No branches or pull requests

1 participant