discourse/db/migrate/20161207030057_add_public_to_groups.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
180 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddPublicToGroups < ActiveRecord::Migration[4.2]
2016-12-07 11:03:35 +08:00
def change
2023-12-06 20:19:09 +08:00
add_column :groups, :public, :boolean, default: false, null: false
2016-12-07 11:03:35 +08:00
end
end