TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you keep code and database synced up?

2 点作者 orakem大约 5 年前
Hi all,<p>I am a new developer, and I was wondering what techniques people use to sync their code and databases. For example, say I edit an entity and add another field to it, I will have to run a corresponding query for the database. As code is at different versions on different machines, how is this managed automatically?<p>Right now, it&#x27;s a toy application, and I guess I can just move to a schema-on-read db, (or keep on using the bash script I have), but how is this done in a production environment?

暂无评论

暂无评论