X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9c89bd53bf8493a287ad6659bd54adcc1966400c..9fc2a5c4e9c2d0bc7df5493b5b74345992aa9dfa:/db/migrate/003_sql_session_store_setup.rb?ds=sidebyside diff --git a/db/migrate/003_sql_session_store_setup.rb b/db/migrate/003_sql_session_store_setup.rb index daef768b7..1be5daf7a 100644 --- a/db/migrate/003_sql_session_store_setup.rb +++ b/db/migrate/003_sql_session_store_setup.rb @@ -1,8 +1,6 @@ -require 'lib/migrate' - -class SqlSessionStoreSetup < ActiveRecord::Migration +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