mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 06:38:41 +08:00

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>
7 lines
195 B
Ruby
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
|