drizzle

Define Drizzle ORM schemas and migrations for PostgreSQL models.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/mabdulrauf/wazone-back --skill drizzle-mabdulrauf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle
Source: https://github.com/mabdulrauf/wazone-back/tree/main/.agents/skills/drizzle
Command: npx skills add https://github.com/mabdulrauf/wazone-back --skill drizzle-mabdulrauf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drizzle ORM schema guides help engineers define database schemas, migrations, and ORM models with clear conventions and reliable patterns.

Core Features & Use Cases

  • Define tables and columns with type-safe Drizzle schemas.
  • Create and manage migrations to evolve the database schema.
  • Generate strongly-typed ORM models and queries for the application code.

Quick Start

Define a simple users table in src/database/schemas and add a migration to create it, then run the Drizzle tooling to apply migrations.

Frequently Asked Questions about drizzle

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

FAQPage Schema
What are Drizzle ORM schemas and how do they structure PostgreSQL models?

Drizzle ORM schemas define database tables and columns with strict typing to structure PostgreSQL models. They provide type-safe ORM models and queries, allowing you to generate strongly-typed application code directly from your database definitions.

How do I create database migrations using Drizzle ORM?

To create database migrations using Drizzle ORM, you define your tables in the schema directory and run the Drizzle tooling. This generates and applies migration files to evolve your PostgreSQL database schema reliably with type-safe definitions.

Does Drizzle ORM support strict typing for database queries?

Yes, Drizzle ORM supports strict typing for database queries. By defining proper table and column definitions in your schema files, you can implement PostgreSQL models and queries with strict type inference automatically applied throughout your application code.

What is the best way to organize Drizzle schemas and migrations in a project?

The best way to organize Drizzle schemas and migrations is using a standard directory structure. Define schemas in a dedicated folder like src/database/schemas, manage migrations in src/database/migrations, and configure your setup using a drizzle.config.ts file.

How does drizzle.config.ts configure the Drizzle ORM setup?

The drizzle.config.ts file configures your Drizzle ORM setup by specifying database connections, schema locations, and migration directories. It ensures the tooling correctly applies migrations and generates type-safe models based on your PostgreSQL schema definitions.