0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
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

7 lines
185 B
Ruby
Vendored

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