mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:23:44 +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
|