Sha256: e914d5c22ac4292fb769d0a9c20a85a36412cd413dd9f103fd68bc9faba949ea
Contents?: true
Size: 245 Bytes
Versions: 14
Compression:
Stored size: 245 Bytes
Contents
class CreateThingWithCompoundIndex < ActiveRecord::Migration[5.2] def change create_table :thing_with_compound_indices do |t| t.string :key t.string :value t.index [:key, :value], name: "idx_key_value" end end end
Version data entries
14 entries across 14 versions & 1 rubygems