X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19b6221b32fbc49e0caa0c1942e874961c8b1b24..0bd3229f89414e4c7e17bb8a4e6532ce2e30f5d0:/db/migrate/20120328090602_drop_session_table.rb?ds=inline diff --git a/db/migrate/20120328090602_drop_session_table.rb b/db/migrate/20120328090602_drop_session_table.rb index e5f9739a5..7046281df 100644 --- a/db/migrate/20120328090602_drop_session_table.rb +++ b/db/migrate/20120328090602_drop_session_table.rb @@ -1,12 +1,10 @@ -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