mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 08:04:53 +08:00
2513339955
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
|