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

[make:migration] Format the generated migration sql by passing --formatted to the command #1345

Merged
merged 4 commits into from
Mar 1, 2024

Conversation

StevenRenaux
Copy link
Contributor

Hi,

Related to this #1336 I tried to work on this PR.

Now you can run make:migration --formatted to get a formatted SQL migration file.

@skigun
Copy link

skigun commented Jan 19, 2024

This would be a nice to have 👍

Co-authored-by: Maxime Pinot <contact@maximepinot.com>
Copy link
Collaborator

@jrushlow jrushlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @StevenRenaux!

@jrushlow jrushlow changed the title Adding formatted option for migration command [make:migration] Format the generated migration sql by passing --formatted to the command Mar 1, 2024
@jrushlow jrushlow added Feature New Feature Status: Reviewed Has been reviewed by a maintainer labels Mar 1, 2024
@jrushlow jrushlow merged commit 744ad00 into symfony:main Mar 1, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants