mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 19:54:39 +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
|