]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/003_sql_session_store_setup.rb
merge 19889:20181 of rails_port into the openID branch
[rails.git] / db / migrate / 003_sql_session_store_setup.rb
index 7b1c75479ac0144798004ddae61f010478aa96a9..daef768b7cb7d875375aef3d449b143e0494bf7c 100644 (file)
@@ -1,6 +1,8 @@
+require 'lib/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