-require 'migrate'
+require "migrate"
class CreateUserBlocks < ActiveRecord::Migration
def change
t.column :needs_view, :boolean, :null => false, :default => false
t.column :revoker_id, :bigint
- t.timestamps
+ t.timestamps :null => true
end
add_foreign_key :user_blocks, :users, :name => "user_blocks_user_id_fkey"