database

Generate and apply Drizzle ORM migrations for SQLite TypeScript projects.

35|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/sean-sunagaku/claude-code-plugin --skill database-sean-sunagaku
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/sean-sunagaku/claude-code-plugin/tree/main/database/skills/database
Command: npx skills add https://github.com/sean-sunagaku/claude-code-plugin --skill database-sean-sunagaku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drizzle ORM を使ったデータベーススキーマの管理とマイグレーションの実行を安全かつ再現性高く行います。

Core Features & Use Cases

  • Schema management: Edit and evolve your database schema in a single source of truth with type-safe definitions.
  • Migration workflow: Generate and apply migrations deterministically via pnpm db:generate and pnpm db:migrate.
  • Guided process: Enforces best practices for avoiding manual SQL edits and ensures migrations are committed.

Quick Start

Run the migration workflow to initialize and apply pending changes.

Frequently Asked Questions about database

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

FAQPage Schema
How do I generate and apply SQLite migrations with Drizzle ORM in TypeScript?

Generate SQLite migrations using Drizzle ORM by running pnpm db:generate to create deterministic migration files from schema.ts, then apply them using pnpm db:migrate.

What is the best way to manage TypeScript database schemas without writing manual SQL?

Managing database schemas with Drizzle ORM provides type-safe definitions in a single schema.ts file, letting you evolve your SQLite database structure deterministically without manual SQL edits.

Does this database migration workflow work with SQLite and TypeScript stacks?

Yes, this database migration workflow explicitly supports SQLite and TypeScript stacks, applying deterministic migrations generated from type-safe Drizzle ORM schema definitions.

Why should generated migration files be committed in a Drizzle ORM workflow?

Generated migration files must be committed to ensure safe, repeatable database schema management, enforcing best practices for avoiding manual SQL edits and maintaining deterministic migrations.

How does Drizzle ORM handle deterministic database schema evolution?

Drizzle ORM handles deterministic schema evolution by generating migration files from a single source of truth schema.ts, ensuring that applying migrations produces consistent database states across environments.