drizzle-schema-changes

Community

Safeguard Drizzle schema changes.

AuthorVonshlovens
Version1.0.0
Installs0

System Documentation

What problem does it solve?

When adding a column to a Drizzle schema, developers risk forgetting to update all dependent layers (DB schema, API input validation, and client-side forms). Mismatches can cause soft failures where data is rejected or silently dropped due to Zod stripping unknown fields.

Core Features & Use Cases

  • Ensures consistent updates across src/lib/db/schema/, API Zod schemas (CreateXSchema/UpdateXSchema), and client-side form schemas.
  • Provides a safe migration workflow with drizzle-kit commands to generate, apply, and manage migrations.
  • Guides developers to avoid common pitfalls that lead to silent data loss and deployment issues.

Quick Start

Edit the Drizzle schema files in src/lib/db/schema/ and run drizzle-kit generate followed by drizzle-kit migrate to apply migrations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-schema-changes
Download link: https://github.com/Vonshlovens/vonshlovens/archive/main.zip#drizzle-schema-changes

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 471,000+ vetted skills library on demand.