X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..0df788d74232330eea5c2d4854ba0d10796053eb:/db/migrate/20120328090602_drop_session_table.rb diff --git a/db/migrate/20120328090602_drop_session_table.rb b/db/migrate/20120328090602_drop_session_table.rb index e5f9739a5..ad0789ae3 100644 --- a/db/migrate/20120328090602_drop_session_table.rb +++ b/db/migrate/20120328090602_drop_session_table.rb @@ -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