X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/87a673e74c181c97931ad68c234fbff4293ee8de..078a9d8ee3058fe95e437b8597a22c97911e89c1:/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 7b1c75479..5853d4d00 100644 --- a/db/migrate/003_sql_session_store_setup.rb +++ b/db/migrate/003_sql_session_store_setup.rb @@ -1,6 +1,8 @@ +require 'migrate' + class SqlSessionStoreSetup < ActiveRecord::Migration def self.up - create_table "sessions", :options => "ENGINE=InnoDB" do |t| + create_table "sessions", :options => innodb_option do |t| t.column "session_id", :string t.column "data", :text t.column "created_at", :timestamp