# Database Migration

> Safely runs database migrations using the project's established script. Use when this capability is needed.

- Skill: `tomevault-io/database-migration` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/database-migration`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/database-migration/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/database-migration

---


# Database Migration Skill

This skill handles the execution of database migrations.

## Usage

1.  **Pre-check:** Ensure the database container is running.
2.  **Execute:** Run the migration script located at `scripts/migrate.sh`.
3.  **Verify:** Check the output for "Migration Successful".

## Constraints

-   NEVER run this on production without explicit user confirmation.
-   If the migration fails, capture the error log.

---
> Source: [bgreenwell/dotagents](https://github.com/bgreenwell/dotagents) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-25 -->

