Skip to content

Add Ecto migrations formatter config example to "Getting Started" guide#4613

Closed
arcanemachine wants to merge 1 commit intoelixir-ecto:masterfrom
arcanemachine:arcanemachine-patch-1
Closed

Add Ecto migrations formatter config example to "Getting Started" guide#4613
arcanemachine wants to merge 1 commit intoelixir-ecto:masterfrom
arcanemachine:arcanemachine-patch-1

Conversation

@arcanemachine
Copy link
Copy Markdown
Contributor

@arcanemachine arcanemachine commented Jun 1, 2025

After merging #4612, I took a look around to find instructions for adding the migration-specific formatter rules to a vanilla Ecto project.

Surprisingly, a few Google searches didn't turn up any instructions (that I could find)... so I figured it might just be easier to add the instructions to the part of the Getting Started guide that deals with migrations.

It does break the flow of the tutorial briefly, but I wasn't sure if there was a better place for it. Feel free to make any needed modifications.

@arcanemachine arcanemachine force-pushed the arcanemachine-patch-1 branch from 3a5c189 to 7b5ba5c Compare June 1, 2025 08:26
@josevalim
Copy link
Copy Markdown
Member

Instead we should add a section to the Ecto.Migrations doc in the ecto_sql project instead? It would be best to keep the getting started light :)

@arcanemachine
Copy link
Copy Markdown
Contributor Author

Works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants