mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
20 lines
455 B
Ruby
20 lines
455 B
Ruby
class GroupMention < ActiveRecord::Base
|
|
belongs_to :post
|
|
belongs_to :group
|
|
end
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: group_mentions
|
|
#
|
|
# id :integer not null, primary key
|
|
# post_id :integer
|
|
# group_id :integer
|
|
# created_at :datetime
|
|
# updated_at :datetime
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_group_mentions_on_group_id_and_post_id (group_id,post_id) UNIQUE
|
|
# index_group_mentions_on_post_id_and_group_id (post_id,group_id) UNIQUE
|
|
#
|