Work on dashboard speed

This commit is contained in:
Pinga 2025-04-19 15:05:25 +03:00
parent f61672d691
commit 347e20757a
4 changed files with 29 additions and 18 deletions

View file

@ -375,6 +375,9 @@ CREATE TABLE IF NOT EXISTS domain (
FOREIGN KEY (acid) REFERENCES registrar(id),
FOREIGN KEY (tldid) REFERENCES domain_tld(id)
);
CREATE INDEX idx_domain_crdate ON domain (crdate);
CREATE INDEX idx_domain_exdate ON domain (exdate);
CREATE INDEX idx_support_tickets_date_created ON support_tickets (date_created);
-- application
CREATE TABLE IF NOT EXISTS application (