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

Reduce the Number of Migration Files #660

Open
wants to merge 4 commits into
base: rails4
Choose a base branch
from

Conversation

TekuConcept
Copy link

I noticed when adding the forem engine to our website that there were a total of 32 migration files generated. I merged them into 9 individual table files and 1 user file.

@TekuConcept
Copy link
Author

My bad, I stumbled upon the 'CONTRIBUTING.md' file several hours after creating this pull request. I am currently in the process of fixing those errors presented in the 'rspec spec' tests.

@yan-hoose
Copy link
Contributor

If you are talking about the Travis CI test failures then all of them are currently caused by Forem specifying

s.add_dependency 'rails', '~> 4.0', '<= 4.2'

in the gemspec even though there is no Rails 4.2 support right now. This means that the tests are run in the context of a Rails 4.2 app and results in a lot of errors. Rails 4.2 support and all the errors have been fixed but not yet pushed to Forem since there is a bug in Rails 4.2 that prevents the push. More details here: #640

@TekuConcept
Copy link
Author

Good to know; I will push my updates based on the contribution standards.

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.

None yet

2 participants