mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 21:46:08 +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
|