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

Commits on Feb 25, 2015

  1. Changed BigbluebuttonRecordings.description column type

    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
    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    5e90e1b View commit details
    Browse the repository at this point in the history
  2. Added first implementation to solve Sanity issues.

    Database had some inconsistencies, first attempt to solve them.
    
    refs #987
    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    ea5de37 View commit details
    Browse the repository at this point in the history
  3. Changed rake task name.

    Also, rewrote some lines to make it more readable.
    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    5b731c8 View commit details
    Browse the repository at this point in the history
  4. Removed the old rake task.

    Also, removed the migration output (it shouldn't even be there)
    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    bd6b1d9 View commit details
    Browse the repository at this point in the history
  5. Covered a few more cases in Sanitize task

    refs #987
    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    c055840 View commit details
    Browse the repository at this point in the history
  6. Removed whitespace

    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    24095e8 View commit details
    Browse the repository at this point in the history
  7. Changed task name to Sanify

    amreis authored and daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    1906493 View commit details
    Browse the repository at this point in the history
  8. Small adjustments on db:sanify

    refs #987
    daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    cc77d2e View commit details
    Browse the repository at this point in the history
  9. Update db/schema as generated by db:migrate

    refs #987
    daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    aa65ad3 View commit details
    Browse the repository at this point in the history
  10. Add a new migration after the one modified by 5e90e1b

    Some servers already ran the migration that was modified, so they need a
    new migration.
    
    refs #987
    daronco committed Feb 25, 2015
    Configuration menu
    Copy the full SHA
    cd0ef8c View commit details
    Browse the repository at this point in the history