mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-16 16:34:47 +00:00
DEV: Add guidelines for adding default queries
This commit is contained in:
parent
0af2453c23
commit
1d97ad6e7e
@ -1,6 +1,11 @@
|
|||||||
class Queries
|
class Queries
|
||||||
def self.default
|
def self.default
|
||||||
|
# WARNING: Edit the query hash carefully
|
||||||
# For each query, add id, name and description here and add sql below
|
# For each query, add id, name and description here and add sql below
|
||||||
|
# Feel free to add new queries at the bottom of the hash in numerical order
|
||||||
|
# If any query has been run on an instance, it is then saved in the local db
|
||||||
|
# Locally stored queries are updated from the below data only when they are run again
|
||||||
|
|
||||||
queries = {
|
queries = {
|
||||||
"most-common-likers": {
|
"most-common-likers": {
|
||||||
"id": -1,
|
"id": -1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user