mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:43:49 +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
|