mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 17:18:39 +08:00

Extension of https://github.com/discourse/discourse/pull/20057 Admin can create a public session visible to everyone. An additional checkbox is displayed for staff members.
8 lines
199 B
Ruby
8 lines
199 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddPublicToSidebarSections < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :sidebar_sections, :public, :boolean, null: false, default: false
|
|
end
|
|
end
|