generate_migration
Generate database migration scripts from schema changes like adding or removing fields, indexes, and modifications. Specify migration name and changes to produce the script.
Instructions
Generate database migration scripts for schema changes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Array of schema changes | |
| migrationName | Yes | Migration name in snake_case (e.g., add_discount_to_products) |