FIX: Disable auto_update for existent themes (#11244)
This commit is contained in:
parent
86ffa3ba4f
commit
aee5e80038
|
@ -0,0 +1,11 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class SetThemesAutoUpdateFalse < ActiveRecord::Migration[6.0]
|
||||
def up
|
||||
execute "UPDATE themes SET auto_update = false"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "UPDATE themes SET auto_update = true"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue