FEATURE: Add page for all group membership requests. (#6909)

This commit is contained in:
Bianca Nenciu
2019-03-27 13:30:59 +02:00
committed by GitHub
parent ef2362a30f
commit a9798f0c47
17 changed files with 464 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
class CreateGroupRequests < ActiveRecord::Migration[5.2]
def change
create_table :group_requests do |t|
t.integer :group_id
t.integer :user_id
t.text :reason
t.timestamps
end
add_index :group_requests, :group_id
add_index :group_requests, :user_id
end
end