We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
首次使用或者数据库结构发生变化后需要手动在数据库执行变更语句,在代码生成及开发调试阶段,为了快速迭代,希望可以在应用启动时自动执行相关变更。
针对生产环境是否可以自动执行,理论上是可以的。Dgraph重复执行schema变更是幂等操作,不会影响数据。 但是
Spring容器初始化时根据配置判断是否运行dgraph schema初始化脚本、是否清空已有数据。
The text was updated successfully, but these errors were encountered:
wangyuheng
Successfully merging a pull request may close this issue.
背景
首次使用或者数据库结构发生变化后需要手动在数据库执行变更语句,在代码生成及开发调试阶段,为了快速迭代,希望可以在应用启动时自动执行相关变更。
针对生产环境是否可以自动执行,理论上是可以的。Dgraph重复执行schema变更是幂等操作,不会影响数据。
但是
方案
Spring容器初始化时根据配置判断是否运行dgraph schema初始化脚本、是否清空已有数据。
验收
The text was updated successfully, but these errors were encountered: