Skip to content

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.

2 participants