Sha256: 1512f3a9c4713f30208225cd3c2b07db6b76067de014078d1fdf590f2bc33686

Contents?: true

Size: 343 Bytes

Versions: 45

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

45 entries across 45 versions & 1 rubygems

Version Path
blacklight-spotlight-3.1.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.0.3 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.0.2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.0.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.0.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb