mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 10:48:49 +08:00
b9d037770c
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
|