X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/91374368faffee13ded82b9718078d5593e32fed..0e612ea99af6b15cc808b342d6431e630b940d5d:/db/migrate/003_sql_session_store_setup.rb?ds=inline diff --git a/db/migrate/003_sql_session_store_setup.rb b/db/migrate/003_sql_session_store_setup.rb index 4de0dd4b1..060ffe089 100644 --- a/db/migrate/003_sql_session_store_setup.rb +++ b/db/migrate/003_sql_session_store_setup.rb @@ -1,6 +1,8 @@ -class SqlSessionStoreSetup < ActiveRecord::Migration +require "migrate" + +class SqlSessionStoreSetup < ActiveRecord::Migration[4.2] def self.up - 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