netlify/netlify-db
FreeManaged Postgres with deploy preview branching
FreeFree tier
About netlify/netlify-db
Netlify DB is a managed PostgreSQL database service from Netlify that integrates directly with the deploy preview system. Each deploy preview receives its own database branch, allowing developers to test schema changes and data migrations in isolated environments before merging to production. The service aims to simplify database management within the Netlify ecosystem.
Key Features
Managed PostgreSQL database hosting
Automatic database branching for each deploy preview
Seamless integration with Netlify's deployment workflow
Database versioning through branch isolation
Reduced database administration overhead
Pros & Cons
Pros
- Automatically creates isolated database instances for each deploy preview
- Eliminates manual database provisioning and teardown for previews
- Deep integration with Netlify's existing build and deploy pipeline
Best For
Preview environment testing for database schema changesIsolated data migrations for feature branchesDevelopment and staging database provisioningCollaborative database development with Netlify team workflows
FAQ
What is Netlify DB?
Netlify DB is a managed PostgreSQL database offering that integrates with Netlify's deploy preview system. Each deploy preview gets a separate database branch, enabling safe testing of schema and data changes.
How does database branching work?
When you create a deploy preview, Netlify DB automatically provisions a new database branch that mirrors the production schema (and optionally data), allowing you to test changes in isolation.