Drizzle Migration Patterns

Official

Streamline Drizzle database migrations with consistent practices.

Authorbytetalent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manages and automates the process of database migrations in Drizzle, ensuring consistency, efficiency, and error-free deployment.

Core Features & Use Cases

  • Atomic Schema Changes: Migrates one change at a time, ensuring atomicity and recoverability.
  • Version Control Integration: Tracks migration history through version control, preventing manual errors.
  • RLS Policy Management: Automatically includes RLS policies with each migration, maintaining security.
  • Deployment Workflow: Provides a clear sequence for applying migrations across environments (dev → staging → prod).

Quick Start

Run the migration generation and application commands to update your database schema:

npm run db:generate
npm run db:migrate

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Drizzle Migration Patterns
Download link: https://github.com/bytetalent/docs/archive/main.zip#drizzle-migration-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.