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

多人开发使用同一个数据库 #1262

Open
kolvin2016 opened this issue Feb 17, 2025 · 1 comment
Open

多人开发使用同一个数据库 #1262

kolvin2016 opened this issue Feb 17, 2025 · 1 comment

Comments

@kolvin2016
Copy link

如果多人开发使用同一个数据库自动生成的模型会包含其他人的实体,发布环境最终会导致sql错误。
建议增加配置,按照自定义实体生成,完全从数据库生成会存在多人协同开发缺陷

@qqxhb
Copy link
Member

qqxhb commented Feb 24, 2025

现在是支持直接用自定义model生成dao的,可以看下文档。
另外多需求开发同一个库的场景,也可以直接项目找个文件维护建表sql,通过解析sql生成,而不是直接连数据库生成

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

2 participants