-require 'migrate'
+require "migrate"
-class SqlSessionStoreSetup < ActiveRecord::Migration
+class SqlSessionStoreSetup < ActiveRecord::Migration[5.0]
def self.up
- create_table "sessions", :options => innodb_option do |t|
+ create_table "sessions" do |t|
t.column "session_id", :string
t.column "data", :text
t.column "created_at", :timestamp