Sha256: 724c64cd21bb8dd508cf300d7c43699351086b647980687245e32c177b06b18e
Contents?: true
Size: 294 Bytes
Versions: 106
Compression:
Stored size: 294 Bytes
Contents
class AddFieldNameIndex < ActiveRecord::Migration[5.2] def self.up remove_index :page_fields, :page_id add_index :page_fields, [:page_id, :name, :content] end def self.down remove_index :page_fields, [:page_id, :name, :content] add_index :page_fields, :page_id end end
Version data entries
106 entries across 106 versions & 1 rubygems