]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/003_sql_session_store_setup.rb
Merge remote-tracking branch 'upstream/pull/4336'
[rails.git] / db / migrate / 003_sql_session_store_setup.rb
index daef768b7cb7d875375aef3d449b143e0494bf7c..1be5daf7a0f7dc30a48e9944a799344de4a64272 100644 (file)
@@ -1,8 +1,6 @@
-require 'lib/migrate'
-
-class SqlSessionStoreSetup < ActiveRecord::Migration
+class SqlSessionStoreSetup < ActiveRecord::Migration[4.2]
   def self.up
   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
       t.column "session_id", :string
       t.column "data",       :text
       t.column "created_at", :timestamp