mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 14:22:45 +08:00

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
|