# Databricks shows isolated database branches for coding agents and PR previews

> Original title: [DEMO] With Git worktrees and Lakebase Postgres database branching, each coding agent gets its own isolated, copy-on-write branch to run ...

- Source: Databricks
- Published: 2026-10-19T15:38:38.000Z
- Bad Influence: https://badinfluence.news/items/smb9enna0xj5xdzluer2lwf3f
- Original: https://x.com/databricks/status/2112206799080133062

## Summary

Databricks says Git worktrees and Lakebase Postgres database branching give each coding agent its own copy-on-write branch to run migrations and test changes. GitHub Actions also creates a fresh database branch per pull request to validate migrations and preview the app before production.

## Post

[DEMO] With Git worktrees and Lakebase Postgres database branching, each coding agent gets its own isolated, copy-on-write branch to run migrations, test changes, and experiment without affecting other environments.

GitHub Actions then creates a fresh database branch per PR to validate migrations and preview the app before anything reaches production.

Watch the full workflow: https://www.youtube.com/watch?v=RPsyHKiWaPg

[Video](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHVAQ49mW8AEOQkd.jpg&mode=thumb&exp=1795651200&sig=82cb4394c9880a96)
