Claude
Cursor
Skill
db-migrate
Applies pending database migrations to the local or staging database. Use when the schema changed.
Virus-scanned
Reviewed automatically before listing.
Download
goldziher-ai-rulez-bench_judge_corpus_units_qben-q08_.claude_skills_db-migrate-ca967ad.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/Goldziher/ai-rulez/tree/main/bench/judge/corpus/units/qben-q08/.claude/skills/db-migrate
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install goldziher-ai-rulez@llmmart
Git
git clone https://github.com/Goldziher/ai-rulez.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole goldziher/ai-rulez collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Database migrate
Never run make migrate against production; this skill covers local and staging only.
- Run
make migrate-statusand list the pending migrations. - Confirm the target is
localorstaging(never production) by readingDB_TARGETfrom.env.example. - Run
make migrate. - Run
make migrate-statusagain and confirm that nothing is pending.
Files (ai-rulez)
-
SKILL.md 514 B
--- name: db-migrate description: "Applies pending database migrations to the local or staging database. Use when the schema changed." --- # Database migrate Never run `make migrate` against production; this skill covers local and staging only. 1. Run `make migrate-status` and list the pending migrations. 2. Confirm the target is `local` or `staging` (never production) by reading `DB_TARGET` from `.env.example`. 3. Run `make migrate`. 4. Run `make migrate-status` again and confirm that nothing is pending.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.