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

13 lines
241 B
Ruby

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