mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 15:45:19 +08:00
DEV: Add conflict resolution to migration min trust level for here mention to group [stable] (#25668)
This commit is contained in:
parent
b750485f62
commit
92749b7384
|
@ -32,6 +32,7 @@ class MigrateMinTrustLevelForHereMentionToGroup < ActiveRecord::Migration[7.0]
|
|||
DB.exec(<<~SQL, setting: here_mention_allowed_groups)
|
||||
INSERT INTO site_settings(name, value, data_type, created_at, updated_at)
|
||||
VALUES('here_mention_allowed_groups', :setting, 20, NOW(), NOW())
|
||||
ON CONFLICT (name) DO NOTHING
|
||||
SQL
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user