]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/003_sql_session_store_setup.rb
Merge remote-tracking branch 'upstream/pull/2833'
[rails.git] / db / migrate / 003_sql_session_store_setup.rb
index 7b1c75479ac0144798004ddae61f010478aa96a9..060ffe08907253558794c112ec87968e064c1a6a 100644 (file)
@@ -1,6 +1,8 @@
-class SqlSessionStoreSetup < ActiveRecord::Migration
+require "migrate"
+
+class SqlSessionStoreSetup < ActiveRecord::Migration[4.2]
   def self.up
-    create_table "sessions", :options => "ENGINE=InnoDB" do |t|
+    create_table "sessions" do |t|
       t.column "session_id", :string
       t.column "data",       :text
       t.column "created_at", :timestamp