S
Seoffix.com
Sign In Get Pro Membership
Skill CommunityApache-2.0Updated this quarter

Netlify DB

by Netlify

Managed Postgres with preview branching.

OfficialPostgres
Open upstream 0 installs recorded Source repository Launch page

About this skill

Official Netlify DB skill. The database that branches with the deploy preview.

Input and output contract

Input

A Netlify site that needs a database.

Output

A DB config that follows the preview.

Workflow steps

  1. 1
    Postgres
  2. 2
    Branches
  3. 3
    Previews

Prompt Notebook

You sayGive previews their own DB.
It returnsNetlify DB branch per preview. DATABASE_URL injected.
You sayMigrate on deploy.
It returnsBuild command runs migrate. Production is a different branch.

More from Netlify

Netlify Deploy
netlify-deploy
Community

Official skill for CLI, previews, and a deploy that finishes.

SkillOfficialDeploy
Netlify Functions
netlify-functions
Community

Serverless endpoints the official way.

SkillOfficialSkill
OK