Initial project commit for Coolify staging
CI / Quality gate (push) Has been cancelled

This commit is contained in:
Andres Resiri
2026-08-03 10:45:41 -04:00
commit 70daeb214a
1199 changed files with 243503 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
-- ============================================================
-- MISSING INDEXES — Run in Neon SQL Editor
-- ============================================================
-- These indexes exist in prisma/schema.prisma but are NOT on the
-- production database (lost during schema conflict resolution).
-- CONCURRENTLY ensures no table locks during creation.
-- ============================================================
-- SiteEvent: admin Signal Overview cross-brand queries
-- Without this, groupBy on 30M rows scans the entire table
CREATE INDEX CONCURRENTLY IF NOT EXISTS "SiteEvent_eventType_timestamp_idx"
ON "SiteEvent" ("eventType", "timestamp");
-- Verify:
-- SELECT indexname FROM pg_indexes WHERE tablename = 'SiteEvent';