Sha256: 5d8d7c14de7218abd728da313ca60f665657897b047ff7f81dee24de09b7d81e

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

# This migration comes from spotlight (originally 20131119213142)
class CreateSpotlightPages < ActiveRecord::Migration
  def change
    create_table :spotlight_pages do |t|
      t.string     :title
      t.string     :type
      t.text       :content
      t.integer    :weight, :default => 0
      t.boolean    :published
      t.references :exhibit
      t.timestamps
      t.integer :parent_page_id
      t.boolean :display_sidebar
    end
    add_index :spotlight_pages, :exhibit_id
    add_index :spotlight_pages, :parent_page_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.0.1 spec/internal/db/migrate/20140206235508_create_spotlight_pages.spotlight.rb