Sha256: 2d1de97981729e758146e430cfef18cb837e8750d279b21179724f40b194107c

Contents?: true

Size: 444 Bytes

Versions: 4

Compression:

Stored size: 444 Bytes

Contents

# add new indices for datetime and ref_type fields
class NewIndices < Cardio::Migration::Schema
  def change
    add_index "card_references", ["ref_type"],
              name: "card_references_ref_type_index" # using: :btree
    add_index "cards", ["created_at"], name: "cards_created_at_index"
    add_index "cards", ["updated_at"], name: "cards_updated_at_index"
    add_index "card_acts", ["acted_at"], name: "acts_acted_at_index"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
card-1.108.1 mod/core/data/schema/20160122153608_new_indices.rb
card-1.108.0 mod/core/data/schema/20160122153608_new_indices.rb
card-1.107.0 mod/core/data/schema/20160122153608_new_indices.rb
card-1.106.0 mod/core/data/schema/20160122153608_new_indices.rb