discourse/db/migrate/20201116132948_set_themes_a...

12 lines
233 B
Ruby

# 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