db/migrate/20140202020202_create_bookmarks.rb in blacklight-6.0.0.pre3 vs db/migrate/20140202020202_create_bookmarks.rb in blacklight-6.0.0.pre4
- old
+ new
@@ -1,13 +1,12 @@
-# -*- encoding : utf-8 -*-
class CreateBookmarks < ActiveRecord::Migration
def self.up
create_table :bookmarks do |t|
t.integer :user_id, :null=>false
t.string :user_type
t.string :document_id
t.string :title
- t.timestamps
+ t.timestamps null: false
end
end
def self.down
drop_table :bookmarks