mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:53:38 +08:00
22 lines
497 B
Ruby
22 lines
497 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class CategoryModerationGroup < ActiveRecord::Base
|
||
|
belongs_to :category
|
||
|
belongs_to :group
|
||
|
end
|
||
|
|
||
|
# == Schema Information
|
||
|
#
|
||
|
# Table name: category_moderation_groups
|
||
|
#
|
||
|
# id :bigint not null, primary key
|
||
|
# category_id :integer
|
||
|
# group_id :integer
|
||
|
# created_at :datetime not null
|
||
|
# updated_at :datetime not null
|
||
|
#
|
||
|
# Indexes
|
||
|
#
|
||
|
# index_category_moderation_groups_on_category_id_and_group_id (category_id,group_id) UNIQUE
|
||
|
#
|