Generate Database Migration Scripts

Have Copilot generate migration scripts for schema changes based on a before/after view.

category:database
migrations
schema
0

Prompt

Generate database migration steps for the following schema change.
  
  Current schema:
  [Describe or paste current table definitions]
  
  Desired schema:
  [Describe or paste desired table definitions]
  
  Provide:
  - SQL ALTER statements (or migration DSL for the chosen tool).
  - Notes about data backfills or transformations if needed.