Adds a data_update script that removes collective_noun from SiteConfig (#11973) [deploy]
This commit is contained in:
parent
59ce70bf91
commit
ac573b446b
1 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
module DataUpdateScripts
|
||||
class RemoveCollectiveNounFromConfig
|
||||
def run
|
||||
SiteConfig.where(var: %w[collective_noun collective_noun_disabled]).destroy_all
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Reference in a new issue