awa
Some checks failed
Build Flumi / Build Flumi (Linux, 4.4.1, ubuntu-latest, linux) (push) Failing after 1h4m23s
Build Flumi / Build Flumi (Windows Desktop, 4.4.1, windows-latest, windows) (push) Has been cancelled

This commit is contained in:
2025-11-08 17:02:34 +08:00
parent 202688e786
commit f99cfb9a20
3 changed files with 56 additions and 1 deletions

View File

@@ -3,5 +3,6 @@
-- MySQL 8.0+ supports CHECK constraints, but we'll skip adding for compatibility
-- Add indexes for efficient DNS lookups if they don't exist
CREATE INDEX idx_dns_records_ns_lookup ON dns_records(record_type, name);
-- 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);