discourse-data-explorer/app/models/discourse_data_explorer/query_group.rb

13 lines
252 B
Ruby

# frozen_string_literal: true
module ::DiscourseDataExplorer
class QueryGroup < ActiveRecord::Base
self.table_name = "data_explorer_query_groups"
belongs_to :query
belongs_to :group
has_many :bookmarks, as: :bookmarkable
end
end