X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..94062a17b3e2ee1984b7bc2b744945d5aa7bf2e9:/db/migrate/045_create_user_blocks.rb?ds=sidebyside diff --git a/db/migrate/045_create_user_blocks.rb b/db/migrate/045_create_user_blocks.rb index e97822a0d..71081f5c1 100644 --- a/db/migrate/045_create_user_blocks.rb +++ b/db/migrate/045_create_user_blocks.rb @@ -1,4 +1,4 @@ -require 'migrate' +require "migrate" class CreateUserBlocks < ActiveRecord::Migration def change @@ -10,7 +10,7 @@ class CreateUserBlocks < ActiveRecord::Migration 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"