Skip to content

[FEATURE]: Migration SquashingΒ #4897

@isaacwasserman

Description

@isaacwasserman

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Sometimes, during development on a feature branch, we end up making multiple migrations as we iterate on schema design. However, this results in many migration files rather than one per PR.

It would be helpful if the drizzle-kit CLI had a "squash" command that allowed us to combine multiple migrations before merging them with our main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions