database-migrations

Manage database schema changes and data migrations across multiple engines and ORMs.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/RUSHYOP/imperium-cli --skill database-migrations-rushyop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migrations
Source: https://github.com/RUSHYOP/imperium-cli/tree/main/content/skills/database-migrations
Command: npx skills add https://github.com/RUSHYOP/imperium-cli --skill database-migrations-rushyop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely manages database schema changes and data migrations across multiple engines and ORMs.

Core Features & Use Cases

  • Migration safety checklist enforcement
  • Zero-downtime migration patterns (expand-contract) across major engines
  • ORM-specific guidance for Prisma, Drizzle, Django, TypeORM, and golang-migrate

Quick Start

Define your migration plan and implement it using the expand-contract approach to deploy safely.

Frequently Asked Questions about database-migrations

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

FAQPage Schema
How do I execute zero-downtime database migrations in production?

Zero-downtime database migrations use the expand-contract pattern to separate schema deployment from application deployment. This approach enforces a migration safety checklist to prevent lock contention and data loss during production schema evolution.

What is the expand-contract pattern for schema changes?

The expand-contract pattern is a zero-downtime migration technique that expands the schema first to support both old and new versions, then contracts it later. It ensures safe data transformation by allowing concurrent application versions to operate during deployment.

Does this migration approach work with Prisma and Django?

Yes, this approach provides ORM-specific guidance for Prisma, Drizzle, Django, TypeORM, and golang-migrate workflows. It integrates migration safety checklists directly into your chosen ORM's schema change and data migration processes.

What's the best way to manage data transformations during a schema evolution?

The best way to manage data transformations is by applying an enforced migration safety checklist alongside expand-contract patterns. This guarantees safe data backfilling and schema evolution across multiple database engines without interrupting production traffic.

When should I not use zero-downtime migrations?

You should avoid zero-downtime migrations for extremely complex schema changes that violate the expand-contract pattern's safety checklist. If a data transformation requires locking large tables or breaking backward compatibility, a scheduled downtime window is safer.

How do I plan a safe database migration strategy?

Plan a safe database migration strategy by defining your migration plan and implementing it using the expand-contract approach. This ensures zero-downtime deployments by enforcing safety checklists across supported ORMs like Prisma and Drizzle.