FIX: Typo in migration (#24089)

Should be DB.exec not just exec, silly typo fix for
9db4eaa870
This commit is contained in:
Martin Brennan 2023-10-25 12:54:25 +10:00 committed by GitHub
parent 3090b4801b
commit 24e087e2ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class MigrateTlToGroupSettingsAnonymousPostingMinTl < ActiveRecord::Migration[7.
end
# Data_type 20 is group_list.
exec(<<~SQL, setting: anonymous_posting_allowed_groups)
DB.exec(<<~SQL, setting: anonymous_posting_allowed_groups)
INSERT INTO site_settings(name, value, data_type, created_at, updated_at)
VALUES('anonymous_posting_allowed_groups', :setting, '20', NOW(), NOW())
SQL