1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-30 15:58:14 +09:00
mastodon/db/migrate/20190807135426_add_comments_to_domain_blocks.rb
2023-11-06 16:15:48 +00:00

13 lines
292 B
Ruby

# frozen_string_literal: true
class AddCommentsToDomainBlocks < ActiveRecord::Migration[5.2]
def change
safety_assured do
change_table(:domain_blocks, bulk: true) do |t|
t.column :private_comment, :text
t.column :public_comment, :text
end
end
end
end