mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 04:18:27 +08:00
Annotate models.
This commit is contained in:
@ -2,3 +2,20 @@ class GroupRequest < ActiveRecord::Base
|
||||
belongs_to :group
|
||||
belongs_to :user
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: group_requests
|
||||
#
|
||||
# id :bigint(8) not null, primary key
|
||||
# group_id :integer
|
||||
# user_id :integer
|
||||
# reason :text
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_group_requests_on_group_id (group_id)
|
||||
# index_group_requests_on_user_id (user_id)
|
||||
#
|
||||
|
Reference in New Issue
Block a user