Adjust send_email field to multiple options.

This commit is contained in:
rulingcom committed 2024-09-04 00:01:15 +08:00
1 parent 3caa63bb46
commit d2edc29945
6 files changed
+44 -5

No files matched your search

+2
View File
@@ -112,6 +112,8 @@ module Ask
end
end
fix_reviewer
AskQuestion.where(send_email: false).update_all(send_email: 0)
AskQuestion.where(send_email: true).update_all(send_email: 1)
OrbitApp.registration "Ask", :type => "ModuleApp" do
module_label "ask.ask"
base_url File.expand_path File.dirname(__FILE__)