Hacker News new | ask | show | jobs
by pprotas 103 days ago
On your last point, imagine worktree A talks to a database assuming some specific schema. If worktree B changes the schema (let’s day, we remove a column from a table), then worktree A can run into some errors.
1 comments

all schema changes should always be addition only
Maybe ideally, sure. In practice, in an org with multiple engineering teams: good luck enforcing that rule!
no database user has drop rights - very easily enforced