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

Add version to migration file if rails5+ #96

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on May 14, 2017

  1. Add rails version to migration file

    Migrations are versioned in Rails 5.
    Rails 5+ requires the rails version specified and throws an error during migration if not specified.
    Compatible with previous Rails versions
    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    e808a8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ee0400 View commit details
    Browse the repository at this point in the history
  3. Add migration version if rails 5+

    Add migration version in migration file  if rails5+.
     Doesnt add if  Rails::VERSION::MAJOR < 5.
    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    899868e View commit details
    Browse the repository at this point in the history
  4. switch to erb

    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    972aabf View commit details
    Browse the repository at this point in the history
  5. switch to erb

    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    008d250 View commit details
    Browse the repository at this point in the history
  6. remove erb extension

    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    fde707a View commit details
    Browse the repository at this point in the history
  7. add erb extension

    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    96a7a66 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8afecf5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4508c34 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0d8daf4 View commit details
    Browse the repository at this point in the history
  11. Update acts_as_follower_generator.rb

    add back migration_version
    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    d148309 View commit details
    Browse the repository at this point in the history
  12. Update migration.rb

    Arinzeokeke authored May 14, 2017
    Configuration menu
    Copy the full SHA
    17326a5 View commit details
    Browse the repository at this point in the history