drizzle-migrations

Manage Drizzle ORM schema definitions and SQLite database migrations efficiently.

181|30|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/curiositech/some_claude_skills --skill drizzle-migrations-curiositech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle-migrations
Source: https://github.com/curiositech/some_claude_skills/tree/main/.claude/skills/drizzle-migrations
Command: npx skills add https://github.com/curiositech/some_claude_skills --skill drizzle-migrations-curiositech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing database schema changes for Drizzle ORM with SQLite, preventing data loss and ensuring schema consistency.

Core Features & Use Cases

  • Schema Definition: Define tables, columns, types, and relations using Drizzle's TypeScript API.
  • Migration Generation: Automatically create SQL migration files for schema updates.
  • Migration Execution: Apply generated migrations to your SQLite database.
  • Use Case: When adding a new posts table to your application, use this Skill to define the schema, generate the migration, and apply it to your development database.

Quick Start

Use the drizzle-migrations skill to generate a new migration file for your Drizzle ORM schema.

Frequently Asked Questions about drizzle-migrations

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

FAQPage Schema
How do I generate SQLite migrations using Drizzle ORM?

To generate SQLite migrations using Drizzle ORM, define your schema with tables and columns in TypeScript, then use the migration generation feature to automatically create the SQL migration files for your database updates.

How do I define database schema relations in Drizzle ORM?

Defining database schema relations in Drizzle ORM involves using its TypeScript API to specify tables, columns, types, and relations, ensuring schema consistency and preventing data loss during updates.

Can I apply generated migrations directly to a SQLite database?

Yes, you can apply generated migrations directly to a SQLite database. The process supports executing the generated SQL migration files to update your development database schema reliably.

Does Drizzle ORM support adding indexes and modifying columns in SQLite?

Yes, Drizzle ORM supports adding indexes and modifying columns in SQLite. You can define these changes in your TypeScript schema and generate the corresponding migration files to apply them.

What is the best way to manage SQLite schema changes with Drizzle ORM?

The best way to manage SQLite schema changes with Drizzle ORM is by using a structured migration workflow that defines schema updates in TypeScript, generates migration files, and applies them to ensure consistency and prevent data loss.