migrations.ts export file is regenerated, and bin/migration/up.ts is created for the module if it does not already exist.
Usage
Examples
Options
| Option | Description | Default |
|---|---|---|
--module | Module the migration is created in. | shared |
AI Skill
This command ships a matchingmigration:create skill. It teaches your AI agent to generate a migration file and its test, then complete the up() and down() implementations for the schema change using @ooneex/migrations.
- Claude
- Codex