X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9c89bd53bf8493a287ad6659bd54adcc1966400c..84681ff8683bb7c8f410b2dc13ca5b8695e413a4:/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