plugins/codex/core/commands/migrate.md
Snider 466fe9f5a6 feat(codex): mirror claude plugins and ethics modal
Summary:\n- added Codex marketplace registry plus awareness/ethics/guardrails sub-plugins\n- mirrored Claude plugin commands/scripts/hooks into codex api/ci/code/collect/coolify/core/issue/perf/qa/review/verify\n- embedded Axioms of Life ethics modal, guardrails, and kernel files under codex/ethics\n- added Codex parity report, improvements list, and MCP integration plan\n- extended Gemini MCP tools and docs for Codex awareness
2026-02-05 20:13:01 +00:00

1.4 KiB

name description args
migrate Laravel migration helpers <subcommand> [options]

Laravel Migration Helper

Commands to help with Laravel migrations in the monorepo.

Usage

/core:migrate create <name> [--path <path>] - Create a new migration file. /core:migrate run - Run pending migrations. /core:migrate rollback - Rollback the last database migration. /core:migrate fresh - Drop all tables and re-run all migrations. /core:migrate status - Show the status of each migration. /core:migrate from-model <model> [--model-path <path>] [--path <path>] - Generate a migration from a model (experimental).

Actions

Create

Run this command to create a new migration:

"${CLAUDE_PLUGIN_ROOT}/scripts/create.sh" "<name>" "--path" "<path>"

Run

Run this command to run pending migrations:

"${CLAUDE_PLUGIN_ROOT}/scripts/run.sh"

Rollback

Run this command to rollback the last migration:

"${CLAUDE_PLUGIN_ROOT}/scripts/rollback.sh"

Fresh

Run this command to drop all tables and re-run migrations:

"${CLAUDE_PLUGIN_ROOT}/scripts/fresh.sh"

Status

Run this command to check migration status:

"${CLAUDE_PLUGIN_ROOT}/scripts/status.sh"

From Model

Run this command to generate a migration from a model:

"${CLAUDE_PLUGIN_ROOT}/scripts/from-model.sh" "<model>" "--model-path" "<model-path>" "--path" "<path>"