20190807135426_add_comments_to_domain_blocks.rb 292 B

123456789101112
  1. # frozen_string_literal: true
  2. class AddCommentsToDomainBlocks < ActiveRecord::Migration[5.2]
  3. def change
  4. safety_assured do
  5. change_table(:domain_blocks, bulk: true) do |t|
  6. t.column :private_comment, :text
  7. t.column :public_comment, :text
  8. end
  9. end
  10. end
  11. end