Skip to content

The gem is unsorting schema.db entries #56

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

Open
texpert opened this issue Jan 16, 2025 · 0 comments
Open

The gem is unsorting schema.db entries #56

texpert opened this issue Jan 16, 2025 · 0 comments

Comments

@texpert
Copy link

texpert commented Jan 16, 2025

Our team is using this gem successfully, the schema.db is pretty well sorted. But when I run migrations or rollbacks on my local machine (on MacOS), the schema is getting unsorted, having exactly the order as it is in the DB. Is it my Mac guilty?

Also, a little nitpick - the 'rails', '~> 4.2.0' is specified in the gemspec, and the tests are running OK. But when changing to 'rails', '~> 5.2.0', the integration_spec fails, because on migration add_index is put into the schema inside the table as t.index.

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

No branches or pull requests

1 participant