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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

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