Skip to content
Back to skills

Db Migration

ASecurity

Write reversible SQL migrations with a rollback section.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentssqldatabase

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add mkupermann/throughline --skill db-migration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Db Migration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Db Migration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mkupermann-db-migration/badge)](https://www.skillsdirectory.com/skills/mkupermann-db-migration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: db-migration
description: Write reversible SQL migrations with a rollback section.
---

# Database Migration

Every migration must be reversible.

Include a rollback section with the down migration.

Use explicit column types, never rely on defaults.

Add indexes in the same migration that adds the column.

Test the migration against a copy of production data.

Never drop a column in the same release that stops writing to it.

Write the migration file in the project migrations directory.

Name the file with a timestamp and a short description.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.