Sha256: 1fd344937ecf4c9a0937abb8cd4c2c1d4d7c2dddf26cfdc4f7c3cab0ab2db0e0

Contents?: true

Size: 447 Bytes

Versions: 8

Compression:

Stored size: 447 Bytes

Contents

# add new indices for datetime and ref_type fields
class NewIndices < 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

8 entries across 8 versions & 1 rubygems

Version Path
card-1.105.6 db/migrate/20160122153608_new_indices.rb
card-1.105.5 db/migrate/20160122153608_new_indices.rb
card-1.105.4 db/migrate/20160122153608_new_indices.rb
card-1.105.3 db/migrate/20160122153608_new_indices.rb
card-1.105.2.pre1 db/migrate/20160122153608_new_indices.rb
card-1.105.2 db/migrate/20160122153608_new_indices.rb
card-1.105.1 db/migrate/20160122153608_new_indices.rb
card-1.105.0 db/migrate/20160122153608_new_indices.rb