Skip to content

Skip data_schema.rb dump when no data migrations are pending #368

@bravebellows

Description

@bravebellows

Running rails data:migrate updates db/data_schema.rb even when there are no pending data migrations. This creates unnecessary file changes in version control.

Request

Only dump db/data_schema.rb when data migrations actually run.

Related: #182

I'm using version 9.4.2. Upgrading isn't an option at this time as we're using Rails LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions