Sha256: 413f9c19b482a81ad6ea0b7baae55566163496dabb3ef4f9cb7a2e19c4ae1780
Contents?: true
Size: 599 Bytes
Versions: 4
Compression:
Stored size: 599 Bytes
Contents
# This migration comes from spotlight (originally 20140130155151) class CreateSpotlightSearches < ActiveRecord::Migration def change create_table :spotlight_searches do |t| t.string :title t.string :slug t.string :scope 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 add_index :spotlight_searches, [:slug,:scope], unique: true end end
Version data entries
4 entries across 4 versions & 1 rubygems