mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:32:26 +08:00
3d64532273
This allows you to temporarily disable components without having to remove them from a theme. This feature is very handy when doing quick fix engineering.
8 lines
181 B
Ruby
8 lines
181 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddEnabledToThemes < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_column :themes, :enabled, :boolean, null: false, default: true
|
|
end
|
|
end
|