Procedure
- •Analyze the schema change requirement.
- •Write the SQL migration file (UP and DOWN if needed).
- •Review for locking issues or data loss risks.
- •Update ORM definitions/types.
- •Apply migration locally to verify.
安全地创建数据库迁移
--- frontmattername: database-migration-create description: Safely creates database migrations