drizzle

Design PostgreSQL schemas and migrations with Drizzle ORM for Node.js.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/Chenm4/VoiceChatAssistant --skill drizzle-chenm4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/Chenm4/VoiceChatAssistant/tree/main/lobehub-main/.agents/skills/drizzle
Command: npx skills add https://github.com/Chenm4/VoiceChatAssistant --skill drizzle-chenm4

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers in designing and managing database schemas using Drizzle ORM for PostgreSQL, including schema definitions, migrations, and ORM usage patterns, reducing boilerplate and errors across projects.

Core Features & Use Cases

  • Schema Design: Define tables and relations using Drizzle's schema helpers and shared conventions.
  • Migrations & ORM: Manage migrations with type inference and robust ORM usage in Node.js/TypeScript projects.
  • Use Case: When building a Node.js app with PostgreSQL, use Drizzle to model tables, run migrations, and query types.

Quick Start

Ask Drizzle for guidance on creating a new user table and its initial migration for a PostgreSQL project.

Frequently Asked Questions about drizzle

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

FAQPage Schema
How do I design PostgreSQL schemas using Drizzle ORM in a Node.js project?

Designing PostgreSQL schemas with Drizzle ORM involves defining tables and relations using Drizzle's schema helpers within your Node.js project. This approach reduces boilerplate and errors by leveraging TypeScript type inference shared across your database conventions.

What is the best way to manage database migrations with Drizzle ORM?

The best way to manage Drizzle ORM migrations is by utilizing its built-in migration tools to generate type-safe schema changes. This ensures robust ORM usage in Node.js applications by keeping migrations synchronized with your TypeScript schema definitions.

Does Drizzle ORM require a specific project structure for migrations and schemas?

Drizzle ORM assumes a specific setup including a drizzle.config.ts file, database schemas stored under src/database/schemas, and migrations located in src/database/migrations. Aligning your Node.js project structure with these conventions ensures proper type inference and schema management.

How do I create a new user table and run its initial migration with Drizzle?

Creating a new user table with Drizzle involves using schema helpers to define columns and relations, then running the initial migration to apply these PostgreSQL schema changes. This process models tables and queries types directly within your Node.js application.

Can I use Drizzle ORM to model relations and query types in PostgreSQL?

Yes, Drizzle ORM allows you to model complex table relations and query types in PostgreSQL. It provides schema helpers and ORM usage patterns that maintain robust type inference for Node.js and TypeScript applications.