如何将我的Strapi集合类型中的更改从开发环境迁移到生产环境?

huangapple go评论56阅读模式
英文:

How can i migrate changes in my strapi collection types from development to production

问题

我正在使用strapi v4。我在开发环境中创建了几个集合类型。然后,我部署我的实例到生产环境。之后,我在开发环境中更改了我的集合类型。如何将这些更改部署到生产环境?

英文:

I am using strapi v4. I create a few collection types in my development environment. Then i deploy my instance to production. After this I add change my collection types in development. How can i deploy these changes to production?

答案1

得分: 0

有人指出(https://stackoverflow.com/questions/71980495/how-to-deploy-changes-to-production-without-downtime-generic-hosting?rq=2)一旦更新的代码部署后,数据库的更改会自动应用。尝试过了,效果很好!

英文:

Somebody pointed out (https://stackoverflow.com/questions/71980495/how-to-deploy-changes-to-production-without-downtime-generic-hosting?rq=2) that as soon as the updated code is deployed, the database changes are applied automatically. Tried that and it works. Great!

huangapple
  • 本文由 发表于 2023年6月8日 04:33:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76426932.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定