mirror of
https://github.com/idanoo/go-mastodon-stats
synced 2025-07-02 06:12:19 +00:00
Update matrix info
This commit is contained in:
parent
ecfe777efa
commit
b3c829c381
7 changed files with 103 additions and 4 deletions
|
@ -30,7 +30,7 @@ CREATE TABLE IF NOT EXISTS statsdb (
|
|||
metric_value INT NOT NULL,
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
CREATE INDEX service_lookup ON statsdb USING btree (service,metric_name, metric_time);
|
||||
CREATE UNIQUE INDEX service_lookup ON statsdb USING btree (service,metric_name, metric_time);
|
||||
|
||||
GRANT ALL ON ALL TABLES IN SCHEMA public TO gomastodonstats;
|
||||
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO gomastodonstats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue