]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/003_sql_session_store_setup.rb
Merge remote-tracking branch 'openstreetmap/pull/788'
[rails.git] / db / migrate / 003_sql_session_store_setup.rb
index 4de0dd4b19120e6613528918ea7d96c248e57751..9531ccc5ebac4c89a51eeadc37fa0b37a917afd9 100644 (file)
@@ -1,6 +1,8 @@
+require "migrate"
+
 class SqlSessionStoreSetup < ActiveRecord::Migration
   def self.up
 class SqlSessionStoreSetup < ActiveRecord::Migration
   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
       t.column "session_id", :string
       t.column "data",       :text
       t.column "created_at", :timestamp