olegbc1
(OlegBC)
Setembro 5, 2019, 9:29pm
1
Gostaria de compilar uma lista dos links externos mais clicados que temos em nosso fórum. Qual tabela/coluna no banco de dados do Discourse contém a contagem que posso extrair? Obrigado!
Remah
(Just another happy Discourse user)
Setembro 6, 2019, 10:47am
2
Pesquisei por “contagem de cliques” e encontrei esta consulta para os cliques de saída mais clicados:
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…
olegbc1
(OlegBC)
Setembro 6, 2019, 4:02pm
3
Isso foi tudo! Muito obrigado