Sha256: a92844f0e038cb9d04f36f19b9da47dca4e5aef13930ccb3d7234ef93cf06737
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
class CreateCacheRecords < ActiveRecord::Migration[5.0] def change create_table :cache_records do |t| t.integer :cacheable_id t.string :cacheable_type t.jsonb :data t.timestamps end add_index :cache_records, [:cacheable_type, :cacheable_id], name: 'index_cache_records_on_type_and_id' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forest_cms-0.98.1 | db/migrate/20180206035546_create_cache_records.rb |