discourse/db/migrate/20210204195932_add_replacement_to_watched_words.rb
Bianca Nenciu 533800a87b
Add watched words of type "replace" (#12020)
This commit includes other various improvements to watched words.

auto_silence_first_post_regex site setting was removed because it overlapped
with 'require approval' watched words.
2021-02-25 14:00:58 +02:00

8 lines
185 B
Ruby

# frozen_string_literal: true
class AddReplacementToWatchedWords < ActiveRecord::Migration[6.0]
def change
add_column :watched_words, :replacement, :string, null: true
end
end