Add 'Group#public'.

This commit is contained in:
Guo Xiang Tan 2016-12-07 11:03:35 +08:00
parent 495c8f2794
commit 3e19b738d7
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class AddPublicToGroups < ActiveRecord::Migration
def change
add_column :groups, :public, :boolean, default: :false, null: false
end
end