X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9c89bd53bf8493a287ad6659bd54adcc1966400c..ea3760f94d9d74d3aaa8492182b9e1a15ec1effa:/db/migrate/003_sql_session_store_setup.rb 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