mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
12 lines
292 B
Ruby
12 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
|