migrate-db

Automate Prisma and SQL database migrations across environments.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/semicolon-devteam/semo --skill migrate-db
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: migrate-db
Source: https://github.com/semicolon-devteam/semo/tree/main/packages/eng/ms/skills/migrate-db
Command: npx skills add https://github.com/semicolon-devteam/semo --skill migrate-db

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

Prisma/SQL ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜์˜ ์ƒ์„ฑ, ์ ์šฉ, ๋กค๋ฐฑ ๋ฐ ๊ฒ€์ฆ์„ ์•ˆ์ „ํ•˜๊ฒŒ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • ์ƒํƒœ ํ™•์ธ: ํ˜„์žฌ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ƒํƒœ๋ฅผ ์กฐํšŒ.
  • ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ƒ์„ฑ/์ ์šฉ: ๊ฐœ๋ฐœ/ํ”„๋กœ๋•์…˜ ํ™˜๊ฒฝ์— ๋งž์ถ˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ฒ˜๋ฆฌ.
  • ๋กค๋ฐฑ ๋Œ€๋น„: ๋กค๋ฐฑ ์ ˆ์ฐจ์™€ ๋ณต๊ตฌ ๊ณ„ํš ์•ˆ๋‚ด.

Quick Start

๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋„๊ตฌ(prisma/migrate) ์‚ฌ์šฉ ์ „ ๋‹จ๊ณ„๋ณ„ ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

Frequently Asked Questions about migrate-db

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

FAQPage Schema
How do I safely roll back a Prisma migration if something goes wrong?โ–ผ

Rollback operations in Prisma migrations revert schema changes and data to a previous state. This Skill provides rollback procedures and recovery plans to ensure you can safely undo migrations across development and production environments without data loss.

Can I manage SQL migrations across multiple environments with Prisma?โ–ผ

Yes. This Skill automates Prisma and raw SQL migrations across environments by detecting your setup, checking tool availability, and applying environment-specific migration strategies to keep schemas synchronized.

How do I check the current status of my database migrations?โ–ผ

Migration status checks query your current schema state and pending migrations. This Skill inspects migration history and validates synchronization between your Prisma schema and actual database state across Prisma, raw SQL, and Supabase workflows.

What precautions should I take before applying a database migration to production?โ–ผ

Safe migrations require environment detection, backup precautions, and rollback strategy planning before deployment. This Skill automates these checks and guides you through creating and applying migrations with built-in safeguards for production workflows.

Does this work with Supabase and raw SQL migrations, or just Prisma?โ–ผ

This Skill handles Prisma migrations, raw SQL, and Supabase workflows. It applies to schema changes, migration creation and application, DB synchronization, and rollback operations across all three approaches.