discourse/db/migrate/20190630165003_add_enabled_to_themes.rb
Osama Sayegh 3d64532273 FEATURE: allow disabling theme components (#7812)
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.
2019-07-03 18:18:11 +10:00

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