Migration support for ActiveRecord 5+
Migration support for ActiveRecord 5+

Directly inheriting from ActiveRecord::Migration is deprecated in
ActiveRecord 5+. When calling `rake db:create_migration` using AR 5+,
the release the migration was written for is appended to the base:

class MyMigration < AciveRecord::Base[5.0]  # <--
  def change
  end
end

janko-m/sinatra-activerecord