Skip to content

Column Diff — Detect Missing Columns and Type Changes #7653

@miladev95

Description

@miladev95

Describe the feature

  • Extend the schema diff to compare model fields against database column metadata.
  • modify_column for type/attribute changes (length, precision/scale, unsigned, nullability, default, auto-increment, collation).

Motivation

  • Detects schema drift early in CI without side effects.
  • Reduces runtime mismatches between models and live schema.
  • Provides actionable, reviewable plans toward full migration versioning.

Related Issues


if you are open to it, I can work on the schema diff feature focused on columns.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions