Sha256: fa672de10f4de8992c2e07fa84c9a0071d0538981e53b0ce3e73097f4005c23c

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

class CreateSpotlightSearches < ActiveRecord::Migration
  def change
    create_table :spotlight_searches do |t|
      t.string :title
      t.text :short_description
      t.text :long_description
      t.text :query_params
      t.integer :weight
      t.boolean :on_landing_page
      t.string :featured_image
      t.references :exhibit
      t.timestamps
    end

    add_index :spotlight_searches, :exhibit_id
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-spotlight-0.0.3 db/migrate/20140130155151_create_spotlight_searches.rb
blacklight-spotlight-0.0.2 db/migrate/20140130155151_create_spotlight_searches.rb
blacklight-spotlight-0.0.1 db/migrate/20140130155151_create_spotlight_searches.rb