* Rename SiteConfig * More renaming * Update spec * Update mandatory settings mapping * More renaming * e2e test fixes * You have a rename, and you have a rename * Spec fix * More changes * Temporarily disable specs * After-merge update * Undo rename for migration * undo rename of DUS * Fix DUS * Fix merge problem * Remove redundant DUS * Fix specs * Remove unused code * Change wrong class name * More cleanup * Re-add missing values to constant * Fix constant * Fix spec * Remove obsolete fields * Add accidentally removed field * Update spec * Move methods from Settings::General to ForemInstance * Remove unneeded model * Change mentions of 'site config'
9 lines
177 B
Ruby
9 lines
177 B
Ruby
module DataUpdateScripts
|
|
class FillBadgesCreditsAwarded
|
|
def run
|
|
return unless ForemInstance.dev_to?
|
|
|
|
Badge.update_all("credits_awarded = 5")
|
|
end
|
|
end
|
|
end
|