英文:
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!
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论