Sha256: 7b80c7930e601e8624b937c65872dd62f23fc5e82c96c3f01489ee84430e615f

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

# This migration comes from spotlight (originally 20140401232956)
class ChangeFeaturedImageToFeaturedImageId < ActiveRecord::Migration
  def change
    remove_column :spotlight_searches, :featured_image, :string
    add_column :spotlight_searches, :featured_item_id, :string
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.3.1 spec/internal/db/migrate/20150303163372_change_featured_image_to_featured_image_id.spotlight.rb
blacklight-spotlight-0.3.0 spec/internal/db/migrate/20150302231333_change_featured_image_to_featured_image_id.spotlight.rb
blacklight-spotlight-0.2.0 spec/internal/db/migrate/20150120185731_change_featured_image_to_featured_image_id.spotlight.rb
blacklight-spotlight-0.1.0 spec/internal/db/migrate/20140603144417_change_featured_image_to_featured_image_id.spotlight.rb