data-migration

Data Migration - Safe Schema Changes

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "data-migration" with this command: npx skills add microck/ordinary-claude-skills/microck-ordinary-claude-skills-data-migration

Data Migration - Safe Schema Changes

When to use this skill

  • Migrating database schemas and structures

  • Transforming data between formats

  • Moving data between database systems

  • Implementing versioned database migrations

  • Handling data transformations during migrations

  • Ensuring data integrity and validation

  • Planning zero-downtime migrations

  • Rolling back failed migrations safely

  • Migrating from legacy systems

  • Implementing data backfill strategies

  • Testing migrations in staging environments

  • Creating migration rollback procedures

When to use this skill

  • Migrating data between schemas, zero-downtime deployments.

  • When working on related tasks or features

  • During development that requires this expertise

Use when: Migrating data between schemas, zero-downtime deployments.

Process

  • Add new column

  • Dual-write to old & new

  • Backfill historical data

  • Switch reads to new column

  • Remove old column

Example

-- Step 1: Add column
ALTER TABLE users ADD COLUMN email_new VARCHAR(255);

-- Step 2: Backfill
UPDATE users SET email_new = email WHERE email_new IS NULL;

-- Step 3: Swap
ALTER TABLE users DROP COLUMN email;
ALTER TABLE users RENAME COLUMN email_new TO email;

Resources

  • Database Migrations

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

alex-hormozi-pitch

No summary provided by upstream source.

Repository SourceNeeds Review
General

dnd5e-srd

No summary provided by upstream source.

Repository SourceNeeds Review
General

shopify-api

No summary provided by upstream source.

Repository SourceNeeds Review
General

analyzing-financial-statements

No summary provided by upstream source.

Repository SourceNeeds Review