FIX: Disable auto_update for existent themes (#11244)

This commit is contained in:
Dan Ungureanu
2020-11-16 15:35:07 +02:00
committed by GitHub
parent 86ffa3ba4f
commit aee5e80038

View File

@@ -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