olegbc1
(OlegBC)
5 Settembre 2019, 9:29pm
1
Vorrei creare un elenco dei link esterni più cliccati presenti sul nostro forum. Quale tabella/colonna nel database di Discourse contiene il conteggio da cui posso estrarre i dati? Grazie!
Remah
(Just another happy Discourse user)
6 Settembre 2019, 10:47am
2
Ho cercato “click count” e ho trovato questa query per i click in uscita più cliccati:
I believe what you’re interested in is the topic_links table (in /db/structure.sql)
CREATE TABLE topic_links (
id integer NOT NULL,
topic_id integer NOT NULL,
post_id integer,
user_id integer NOT NULL,
url character varying(500) NOT NULL,
domain character varying(100) NOT NULL,
internal boolean DEFAULT false NOT NULL,
link_topic_id integer,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
reflection boo…