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

Adopt lfittl/activerecord-clean-db-structure #175

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

andyatkinson
Copy link
Owner

@andyatkinson andyatkinson commented Feb 7, 2024

This gem reformats the db/structure.sql

This could be useful on a team where there are changes to the
db/structure.sql file from different team members as they run rails db:migrate
on their machines, but those changes are "noise" due without semantic differences, typically
due to minor differences in Postgres versions.

rails db:migrate was run once here as well which does a one-time
reformatting of the file.

This gem reformats the db/structure.sql

This could be useful on a team where there are changes to the
db/structure.sql file from different team members as they run rails db:migrate
on their machines, but those changes aren't intended to be committed.

This gem formats the output to minimize any unintended diffs being
created, or being committed

rails db:migrate was run once here as well which does a one-time
reformatting of the file
@andyatkinson andyatkinson force-pushed the chore/adopt-activerecord-clean-db-structure branch from bc5b122 to 2f50f6e Compare February 7, 2024 22:30
@andyatkinson
Copy link
Owner Author

Updated to v0.4.1 of gem

@andyatkinson
Copy link
Owner Author

Updated to v0.4.3 of gem

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.

1 participant