DEV: Add conflict resolution to migration min trust level for here mention to group (#25667)

This commit is contained in:
Jeff Wong 2024-02-13 17:19:17 -08:00 committed by GitHub
parent 037def8624
commit cd99e20fd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,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