Fixed database index issue

This commit is contained in:
Pinga 2025-06-20 17:14:29 +03:00
parent e17460dacf
commit 4a0aa42df3

View file

@ -936,9 +936,9 @@ INSERT INTO `registry`.`settings` (`name`, `value`) VALUES
('rdap_server', 'https://rdap.example.com'),
('currency', 'USD');
CREATE INDEX idx_domain_crdate ON domain (crdate DESC);
CREATE INDEX idx_domain_exdate ON domain (exdate);
CREATE INDEX idx_support_tickets_date_created ON support_tickets (date_created);
CREATE INDEX registry.idx_domain_crdate ON registry.domain (crdate DESC);
CREATE INDEX registry.idx_domain_exdate ON registry.domain (exdate);
CREATE INDEX registry.idx_support_tickets_date_created ON registry.support_tickets (date_created);
CREATE DATABASE IF NOT EXISTS `registryTransaction`;