run_generate
Diff your models against existing migrations to see schema changes. Dry-run prints added, dropped, or altered columns; set write=true to create a reconciling migration file.
Instructions
Diff models against the project's migrations (schema diff) and report what a reconciling migration would change. Dry-run by default: prints per-model added/dropped/type-changed columns and writes NOTHING. Pass write=true to emit migration file(s) into the project's migrations directory (review them, then run_migrate). Delegates to d1-eloquent generate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Custom migration name (used when exactly one file is written). | |
| model | No | Limit the diff to one model (class/file name, e.g. 'User'). Default: every model. | |
| write | No | Emit reconciling migration file(s). Default false (dry-run diff only). |