Sha256: a4f03eecd1f9dd38a9e09c5180d02cddb55de4e6a380cfe1efdf9d881ff481ac
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
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.timestamps end add_index :spotlight_exhibits, :name, unique: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.0.3 | db/migrate/20140128155151_create_exhibits.rb |