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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
233 B
Ruby
Raw Normal View History

# 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