discourse/db/migrate/20241121000131_add_post_header_to_badge.rb
Gary Pendergast 2513339955
FEATURE: Show when a badge has been granted for a post (#29696)
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2024-12-03 13:43:27 +11:00

7 lines
195 B
Ruby

# frozen_string_literal: true
class AddPostHeaderToBadge < ActiveRecord::Migration[7.1]
def change
add_column :badges, :show_in_post_header, :boolean, default: false, null: false
end
end