mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 00:54:21 +08:00
12 lines
233 B
Ruby
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
|