Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Remove FK constraint

Blue Mouse8d3a885f739b
diff --git a/backend/migrations/mysql/2026_04_17_managed_proxy_domains.sql b/backend/migrations/mysql/2026_04_17_managed_proxy_domains.sql
index 41dd85f8d..a5d14a13d 100644
--- a/backend/migrations/mysql/2026_04_17_managed_proxy_domains.sql
+++ b/backend/migrations/mysql/2026_04_17_managed_proxy_domains.sql
@@ -14,6 +14,5 @@ CREATE TABLE IF NOT EXISTS `proxy_domain` (
UNIQUE KEY `UQ_proxy_domain_hostname` (`hostname`),
UNIQUE KEY `UQ_proxy_domain_target` (`proxyTargetId`),
KEY `IDX_proxy_domain_project` (`projectId`),
- KEY `IDX_proxy_domain_status` (`status`),
- CONSTRAINT `FK_proxy_domain_project` FOREIGN KEY (`projectId`) REFERENCES `project` (`id`) ON DELETE CASCADE
+ KEY `IDX_proxy_domain_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;