Resave users for Imgproxy migration (#10853)
This commit is contained in:
parent
0d2b4c515d
commit
5b211e33d7
1 changed files with 9 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
module DataUpdateScripts
|
||||
class ResaveUsersForImgproxy
|
||||
def run
|
||||
return unless ENV["FOREM_CONTEXT"] == "forem_cloud"
|
||||
|
||||
User.find_each(&:save)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Reference in a new issue