Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --pretty option #1122

Open
Shinigami92 opened this issue Apr 26, 2024 · 0 comments
Open

Add --pretty option #1122

Shinigami92 opened this issue Apr 26, 2024 · 0 comments
Labels
c: feature Request for new feature p: 1-normal Nothing urgent
Milestone

Comments

@Shinigami92
Copy link
Collaborator

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

@Shinigami92 Shinigami92 added the c: feature Request for new feature label Apr 26, 2024
@Shinigami92 Shinigami92 added this to the vAnytime milestone Apr 26, 2024
@Shinigami92 Shinigami92 changed the title Add pretty option Add --pretty option Apr 26, 2024
@Shinigami92 Shinigami92 added the p: 1-normal Nothing urgent label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: feature Request for new feature p: 1-normal Nothing urgent
Projects
None yet
Development

No branches or pull requests

1 participant