You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
== 20171106025207 CreateSessions: migrating ===================================
-- create_table(:sessions, {:id=>:uuid})
-> 0.0443s
-- add_index(:sessions, :authentication_token)
-> 0.0066s
== 20171106025207 CreateSessions: migrated (0.0511s) ==========================
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class DeviseSessionableCreateSessions < ActiveRecord::Migration[4.2]
/Users/tristanhart/workspace/ohai-rails/db/migrate/20171108062236_devise_sessionable_create_sessions.rb:1:in `<top (required)>'
/Users/tristanhart/workspace/ohai-rails/bin/rails:9:in `require'
/Users/tristanhart/workspace/ohai-rails/bin/rails:9:in `<top (required)>'
/Users/tristanhart/workspace/ohai-rails/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Caused by:
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class DeviseSessionableCreateSessions < ActiveRecord::Migration[4.2]
/Users/tristanhart/workspace/ohai-rails/db/migrate/20171108062236_devise_sessionable_create_sessions.rb:1:in `<top (required)>'
/Users/tristanhart/workspace/ohai-rails/bin/rails:9:in `require'
/Users/tristanhart/workspace/ohai-rails/bin/rails:9:in `<top (required)>'
/Users/tristanhart/workspace/ohai-rails/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: