mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:42:55 +08:00
oops, missed a file
This commit is contained in:
parent
d62f2b4d67
commit
17b1179103
|
@ -0,0 +1,9 @@
|
|||
class RenameNumFlagsToBlockNewUser < ActiveRecord::Migration
|
||||
def up
|
||||
execute "update site_settings set name = 'num_spam_flags_to_block_new_user' where name = 'num_flags_to_block_new_user'"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "update site_settings set name = 'num_flags_to_block_new_user' where name = 'num_spam_flags_to_block_new_user'"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user