mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Typo in migration (#24089)
Should be DB.exec not just exec, silly typo fix for
9db4eaa870
This commit is contained in:
parent
3090b4801b
commit
24e087e2ba
@ -25,7 +25,7 @@ class MigrateTlToGroupSettingsAnonymousPostingMinTl < ActiveRecord::Migration[7.
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Data_type 20 is group_list.
|
# 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)
|
INSERT INTO site_settings(name, value, data_type, created_at, updated_at)
|
||||||
VALUES('anonymous_posting_allowed_groups', :setting, '20', NOW(), NOW())
|
VALUES('anonymous_posting_allowed_groups', :setting, '20', NOW(), NOW())
|
||||||
SQL
|
SQL
|
||||||
|
Loading…
Reference in New Issue
Block a user