Sha256: 83f60a57c31d09c8f4dcef9bfea5fd445d955ceb951118685ed08cf2bb31637f

Contents?: true

Size: 209 Bytes

Versions: 39

Compression:

Stored size: 209 Bytes

Contents

class AddCodenameIndex < ActiveRecord::Migration[5.2]
  def up
    add_index :cards, [:codename], name: "cards_codename_index"
  end

  def down
    remove_index :cards, name: "cards_codename_index"
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
card-1.105.6 db/migrate/20190131223248_add_codename_index.rb
card-1.105.5 db/migrate/20190131223248_add_codename_index.rb
card-1.105.4 db/migrate/20190131223248_add_codename_index.rb
card-1.105.3 db/migrate/20190131223248_add_codename_index.rb
card-1.105.2.pre1 db/migrate/20190131223248_add_codename_index.rb
card-1.105.2 db/migrate/20190131223248_add_codename_index.rb
card-1.105.1 db/migrate/20190131223248_add_codename_index.rb
card-1.105.0 db/migrate/20190131223248_add_codename_index.rb
card-1.104.2 db/migrate/20190131223248_add_codename_index.rb
card-1.104.1 db/migrate/20190131223248_add_codename_index.rb
card-1.104.0 db/migrate/20190131223248_add_codename_index.rb
card-1.103.4 db/migrate/20190131223248_add_codename_index.rb
card-1.103.3 db/migrate/20190131223248_add_codename_index.rb
card-1.103.2 db/migrate/20190131223248_add_codename_index.rb
card-1.103.1 db/migrate/20190131223248_add_codename_index.rb
card-1.103.0 db/migrate/20190131223248_add_codename_index.rb
card-1.101.7 db/migrate/20190131223248_add_codename_index.rb
card-1.102.0 db/migrate/20190131223248_add_codename_index.rb
card-1.101.6 db/migrate/20190131223248_add_codename_index.rb
card-1.101.5 db/migrate/20190131223248_add_codename_index.rb