schema_generate_migration
Resolve schema drift by comparing current schema files with desired changes and generating a migration file. Provide the schema path and change description, and receive ready-to-run migration code for your ORM.
Instructions
Compare current schema with desired state and generate a migration file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orm | No | ORM or migration tool in use | raw-sql |
| api_key | No | ||
| db_type | No | postgres | |
| current_schema | Yes | Path to current schema file or migration directory | |
| desired_changes | Yes | Description of desired schema changes (e.g., 'add email_verified boolean to users table') |