Sha256: 1e2b0a51c9bc03a55c57d78f228f626e006849c53fd209f2c420b170b9de662c
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
# This migration comes from spotlight (originally 20140128155151) class CreateExhibits < ActiveRecord::Migration def change create_table :spotlight_exhibits do |t| t.string :name, null: false # This is for programatic lookup (route key perhaps) t.string :title, null: false t.string :subtitle t.text :description t.text :contact_emails t.references :blacklight_configuration t.timestamps end add_index :spotlight_exhibits, :name, unique: true end end
Version data entries
2 entries across 2 versions & 1 rubygems