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.6.0.beta7 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.5.0.3 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.6.0.beta6 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.6.0.beta5 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.6.0.beta4 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.6.0.beta3 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.6.0.beta1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.5.0.2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.5.0.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.5.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.4.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.4 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.3 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.2.2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.2.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.2 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.1 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.4.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.3.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb
blacklight-spotlight-3.2.0 db/migrate/20210506070809_add_indexes_for_featured_images.rb