Skip to content

Don't show DryRun scripts as "Running" in the output #619

@Tradioyes

Description

@Tradioyes

Is your feature request related to a problem? Please describe.
I had a scare while trying scripts before a migration from roundhouse, because when I ran my scripts with the --dryrun option, they still showed as "Running" in the output as opposed to "DryRun" like in RoundHouse.

Describe the solution you'd like
The output could be differentiated when in DryRun mode

Additional context
I think the fix can be done there (and maybe some other places, I have to check) https://github.com/erikbra/grate/blob/main/src/grate.core/Migration/DbMigrator.cs#L90 , I'll try to do it myself next week and send a PR

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