Sha256: 7b1e4f29db7cdb9da4a17796b45b55f2d66b62863aedfdcda585f0627efc308d

Contents?: true

Size: 309 Bytes

Versions: 108

Compression:

Stored size: 309 Bytes

Contents

class CreateExhibits < ActiveRecord::Migration[4.2]
  def change
    create_table :spotlight_exhibits do |t|
      t.string :title, null: false
      t.string :subtitle
      t.string :slug
      t.text :description
      t.timestamps
    end

    add_index :spotlight_exhibits, :slug, unique: true
  end
end

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
blacklight-spotlight-3.4.1 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.4.0 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.3.0 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.2.0 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.1.0 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.3 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.2 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.1 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.rc6 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.rc5 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.rc4 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.rc3 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.rc2 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.rc1 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.alpha.10 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.alpha.9 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.alpha.8 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.alpha.7 db/migrate/20140128155151_create_exhibits.rb
blacklight-spotlight-3.0.0.alpha.6 db/migrate/20140128155151_create_exhibits.rb