discourse/app/models/category_moderation_group.rb

22 lines
497 B
Ruby
Raw Normal View History

# 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
#