netlify-database

Provision and manage a GA Postgres database for Netlify sites.

Updated May 31, 2026
One-click install
npx skills add https://github.com/ChristineTham/lp --skill netlify-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: netlify-database
Source: https://github.com/ChristineTham/lp/tree/main/.agents/skills/netlify-database
Command: npx skills add https://github.com/ChristineTham/lp --skill netlify-database

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Netlify Database provides a GA-managed PostgreSQL instance for Netlify projects, removing the complexity of managing database infrastructure and enabling per-deploy preview data isolation.

Core Features & Use Cases

  • Provision a managed Postgres database for Netlify sites with automatic per-branch isolation.
  • Integrate Drizzle ORM and migrations to manage schema and data across previews and production.
  • Use Netlify CLI commands to initialize, status, connect, and apply migrations safely without touching production data.

Quick Start

Install @netlify/database and run netlify database init to provision your first database for your site.

Frequently Asked Questions about netlify-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision a managed Postgres database for a Netlify site?

Provisioning a managed Postgres database for Netlify sites requires installing @netlify/database and running netlify database init via the CLI. This sets up a GA PostgreSQL instance with automatic per-branch data isolation for previews.

Does Netlify database support per-branch isolated data for preview deployments?

Yes, Netlify Database supports per-branch isolated data for preview deployments. This ensures dynamic preview data remains separate from production, allowing safe testing across branches.

How do I set up Drizzle ORM migrations with a Netlify Postgres database?

To set up Drizzle ORM migrations with Netlify Postgres, use the recommended CLI commands to connect and apply schema changes. The workflow enforces proper separation between local and hosted databases to protect production data.

Can I apply database migrations on Netlify without touching production data?

Yes, you can apply database migrations safely without touching production data. Netlify Database enforces proper separation between local and hosted databases, using CLI commands to apply schema changes securely.

What are the limitations of using a managed Postgres database on Netlify?

Limitations of using a managed Postgres database on Netlify include strict migration workflow requirements and enforced separation between local and hosted databases. Safe production data handling requires using designated CLI commands.