X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/721dd9c27d299455b9159457a095716f797389f1..6142980d07db9fb6c96c91adb143d04bb26911b2:/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 4de0dd4b1..47c711daf 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[5.0] 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