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:
Gary Pendergast
2024-12-03 13:43:27 +11:00
committed by GitHub
parent 435fbb7408
commit 2513339955
26 changed files with 479 additions and 30 deletions

View 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