Skip to content

Add --pretty option #1122

@Shinigami92

Description

@Shinigami92

Description

Add an option to make SQL statements (non-)pretty formatted.

This will then add linebreaks to the SQL statements that are produced for better debugging / reading.
By default pretty should be disabled, resulting in single line SQL statements.

Suggested solution

migrate up --pretty
migrate up --no-pretty

Alternative

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions