Skip to main content
Run migrations for every module that defines a bin/migration/up.ts script. Each module’s migration script is run from its own directory. With --drop, the database is dropped before migrations run.

Usage

ooneex migration:up [options]

Examples

ooneex migration:up
ooneex migration:up --drop

Options

OptionDescriptionDefault
--dropDrop the database before running migrations.false

AI Skill

This command ships a matching database:migrate skill. It teaches your AI agent to drive the database lifecycle — applying and rolling back migrations, reseeding, and verifying the schema matches the entities.
ooneex claude:init