This commit is contained in:
2025-11-08 17:05:34 +08:00
parent f99cfb9a20
commit 20c1e9f733

View File

@@ -5,4 +5,5 @@
-- Add indexes for efficient DNS lookups if they don't exist
-- Index already created in migration 003_add_ns_records.sql
-- CREATE INDEX idx_dns_records_ns_lookup ON dns_records(record_type, name);
CREATE INDEX idx_dns_records_subdomain_lookup ON dns_records(domain_id, name, record_type);
-- Index already created in migration 003_add_ns_records.sql
-- CREATE INDEX idx_dns_records_subdomain_lookup ON dns_records(domain_id, name, record_type);