db/migrate/20140128155151_create_exhibits.rb in blacklight-spotlight-0.7.2 vs db/migrate/20140128155151_create_exhibits.rb in blacklight-spotlight-0.8.0
- old
+ new
@@ -1,15 +1,13 @@
class CreateExhibits < ActiveRecord::Migration
def change
create_table :spotlight_exhibits do |t|
- t.boolean :default
t.string :title, null: false
t.string :subtitle
t.string :slug
t.text :description
t.timestamps
end
- add_index :spotlight_exhibits, :default, unique: true
add_index :spotlight_exhibits, :slug, unique: true
end
end