migrate-lint
Analyze database migration directories to detect issues, validate schemas, and ensure migration integrity using Ariga Atlas CLI.
Instructions
Run analysis on migration directory to detect issues
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirUrl | Yes | URL to migration directory (required) | |
| devUrl | No | URL for dev database for analysis | |
| latest | No | Only check the latest N migrations | |
| gitBase | No | Git base ref to compare against | |
| format | No | Output format: text or json |