What problem does it solve? Setting up and safely operating a Postgres database on Netlify involves provisioning, schema migrations, preview branching, and production data handling — doing any of these out-of-band (raw DDL, direct psql access, manual migrate commands) causes drift and broken deploys. This Skill provides the correct, supported workflow for every stage. ## Core Features & Use Cases - Provisioning & Setup: Install @netlify/database and bootstrap with netlify database init, with auto-provisioning at deploy time and isolated preview branches forked from production data. - Drizzle ORM Workflow: Configure db/schema.ts, drizzle.config.ts, and the drizzle-orm/netlify-db adapter (installed from the @beta dist-tag), with migrations generated into netlify/database/migrations/ and applied automatically by deploys. - Safe Production Operations: Enforces rules like never running DDL through direct connections, never applying migrations to hosted databases manually, and expressing production data changes as DML migrations. - Use Case: A developer building a Netlify-hosted app needs a database for user records. The Skill guides them through netlify database init, defining a Drizzle schema, generating a migration, testing locally with netlify dev, and shipping via a preview-first deploy. ## Quick Start Ask the AI to set up a Netlify Database with Drizzle ORM for your project, starting with netlify database init and a starter schema for your app's entities.