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

New rake task to sanitize the db after migration to a new version #86

Merged
merged 10 commits into from Feb 25, 2015

Conversation

daronco
Copy link
Member

@daronco daronco commented Feb 25, 2015

  • Changed a column type to make the migration work
  • Wrote a rake task to remove some inconsitencies from the database

A copy of mconf-ufrgs#4

amreis and others added 9 commits February 25, 2015 13:50
A migration wasn't working because the field was too short. Now it is of type text, not string.

Also, added the Active Sanity gem to check the database for inconsistencies or things that would not pass validations.

refs #987
Database had some inconsistencies, first attempt to solve them.

refs #987
Also, rewrote some lines to make it more readable.
Also, removed the migration output (it shouldn't even be there)
Some servers already ran the migration that was modified, so they need a
new migration.

refs #987
daronco added a commit that referenced this pull request Feb 25, 2015
@daronco daronco merged commit 43c4572 into master Feb 25, 2015
@daronco daronco deleted the issue987-migration-v2 branch February 25, 2015 17:16
RafaFP pushed a commit to RafaFP/mconf-web that referenced this pull request May 2, 2017
RafaFP pushed a commit to RafaFP/mconf-web that referenced this pull request May 2, 2017
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