mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-03-07 01:49:06 +00:00
Instead of using `PluginStoreRow` we should use plugin-specific models like `DataExplorer::Query` and `DataExplorer::QueryGroup`
12 lines
198 B
Ruby
12 lines
198 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
|
|
end
|
|
end
|
|
|