Sha256: e5403d071702c8b1dea1c609bf1be8c1f1c3b469a62370f9d771863e3d84e7ca

Contents?: true

Size: 447 Bytes

Versions: 63

Compression:

Stored size: 447 Bytes

Contents

# add new indeces for datetime and ref_type fields
class NewIndeces < ActiveRecord::Migration[4.2]
  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

63 entries across 63 versions & 1 rubygems

Version Path
card-1.92.2 db/migrate/20160122153608_new_indeces.rb
card-1.92.1 db/migrate/20160122153608_new_indeces.rb
card-1.92 db/migrate/20160122153608_new_indeces.rb