2020-08-27 10:29:57 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
|
|
module DataExplorer
|
|
|
|
|
class QueryGroup < ActiveRecord::Base
|
|
|
|
|
self.table_name = 'data_explorer_query_groups'
|
|
|
|
|
|
|
|
|
|
belongs_to :query
|
|
|
|
|
belongs_to :group
|
2022-06-14 23:07:02 +08:00
|
|
|
|
|
|
|
|
has_many :bookmarks, as: :bookmarkable
|
2020-08-27 10:29:57 +10:00
|
|
|
end
|
|
|
|
|
end
|