]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20120328090602_drop_session_table.rb
Update to iD v2.14.1
[rails.git] / db / migrate / 20120328090602_drop_session_table.rb
index e5f9739a54e9582aa711b59e57c35e86d2d3b9d0..ad0789ae36c4959a6a39007e2fef3459ef555b40 100644 (file)
@@ -1,12 +1,12 @@
-require 'migrate'
+require "migrate"
 
-class DropSessionTable < ActiveRecord::Migration
+class DropSessionTable < ActiveRecord::Migration[5.0]
   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