]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120328090602_drop_session_table.rb
Use .icon-link in shared pagination
[rails.git] / db / migrate / 20120328090602_drop_session_table.rb
index e5f9739a54e9582aa711b59e57c35e86d2d3b9d0..7046281df69bea002c4542b677bc43022f991c64 100644 (file)
@@ -1,12 +1,10 @@
-require 'migrate'
-
-class DropSessionTable < ActiveRecord::Migration
+class DropSessionTable < ActiveRecord::Migration[4.2]
   def up
     drop_table "sessions"
   end
 
   def down
   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
       t.column "session_id", :string
       t.column "data",       :text
       t.column "created_at", :timestamp