]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120328090602_drop_session_table.rb
Merge remote-tracking branch 'upstream/pull/2028'
[rails.git] / db / migrate / 20120328090602_drop_session_table.rb
index e5f9739a54e9582aa711b59e57c35e86d2d3b9d0..5423974e5783f73199050fc9ab705334b2700afa 100644 (file)
@@ -1,12 +1,12 @@
-require 'migrate'
+require "migrate"
 
-class DropSessionTable < ActiveRecord::Migration
+class DropSessionTable < ActiveRecord::Migration[4.2]
   def up
     drop_table "sessions"
   end
 
   def down
-    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