Sha256: 1512f3a9c4713f30208225cd3c2b07db6b76067de014078d1fdf590f2bc33686

Contents?: true

Size: 343 Bytes

Versions: 53

Compression:

Stored size: 343 Bytes

Contents

class AddIndexesForFeaturedImages < ActiveRecord::Migration[5.2]
  def change
    add_index(:spotlight_searches, [:thumbnail_id])
    add_index(:spotlight_searches, [:masthead_id])
    add_index(:spotlight_exhibits, [:thumbnail_id])
    add_index(:spotlight_exhibits, [:masthead_id])
    add_index(:spotlight_pages, [:thumbnail_id])
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
blacklight-spotlight-5.0.0.pre.alpha3 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-5.0.0.pre.alpha2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-5.0.0.pre.alpha1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.7.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.7.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.6.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.6.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.5.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.4.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.6 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.5 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.4 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.3 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.3.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.2.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.1.2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.1.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-4.1.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb