class ActiveSupport::Cache::DatabaseStore::Migration
Public Instance Methods
change()
click to toggle source
# File lib/active_support/cache/database_store/migration.rb, line 7 def change create_table :activesupport_cache_entries, primary_key: 'key', id: :binary, limit: 255 do |t| t.binary :value, null: false t.string :version, index: true t.timestamp :created_at, null: false, index: true t.timestamp :expires_at, index: true end end