mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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>
This commit is contained in:
6
db/migrate/20241121000131_add_post_header_to_badge.rb
Normal file
6
db/migrate/20241121000131_add_post_header_to_badge.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
# 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
|
Reference in New Issue
Block a user