1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-09 14:34:35 +00:00
discourse/db/migrate/20201116132948_set_themes_auto_update_false.rb

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