migrate-diff
Generate migration files by comparing current database schema to desired state for managing schema changes.
Instructions
Generate a new migration file by comparing current state to desired schema
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Desired schema state (file:// or schema HCL) | |
| devUrl | No | URL for dev database to compute diff | |
| dirUrl | No | URL to migration directory | |
| name | No | Name for the new migration file | |
| edit | No | Open editor for manual changes | |
| format | No | Output format: text or json |