]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/003_sql_session_store_setup.rb
Localisation updates from https://translatewiki.net.
[rails.git] / db / migrate / 003_sql_session_store_setup.rb
index 5853d4d000a65e3f8cc9e7f6c101f4013559d9a9..47c711daf426acae6df9be30d49db015988502d5 100644 (file)
@@ -1,8 +1,8 @@
-require 'migrate'
+require "migrate"
 
 
-class SqlSessionStoreSetup < ActiveRecord::Migration
+class SqlSessionStoreSetup < ActiveRecord::Migration[5.0]
   def self.up
   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