chore: wire Carplace into dev and production stacks
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
ALTER TYPE "NotificationType" ADD VALUE IF NOT EXISTS 'DOCUMENTS_REQUIRED';
|
||||
ALTER TYPE "NotificationType" ADD VALUE IF NOT EXISTS 'PAYMENT_REQUIRED';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "carplace_funnel_events" (
|
||||
"id" TEXT PRIMARY KEY,
|
||||
"eventName" TEXT NOT NULL,
|
||||
"companyId" TEXT,
|
||||
"companySlug" TEXT NOT NULL,
|
||||
"vehicleId" TEXT NOT NULL,
|
||||
"renterId" TEXT,
|
||||
"sessionId" TEXT,
|
||||
"path" TEXT,
|
||||
"metadata" JSONB NOT NULL DEFAULT '{}',
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "carplace_funnel_events_eventName_createdAt_idx"
|
||||
ON "carplace_funnel_events"("eventName", "createdAt");
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "carplace_funnel_events_companyId_createdAt_idx"
|
||||
ON "carplace_funnel_events"("companyId", "createdAt");
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "carplace_funnel_events_companySlug_createdAt_idx"
|
||||
ON "carplace_funnel_events"("companySlug", "createdAt");
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "carplace_funnel_events_vehicleId_createdAt_idx"
|
||||
ON "carplace_funnel_events"("vehicleId", "createdAt");
|
||||
|
||||
CREATE INDEX IF NOT EXISTS "carplace_funnel_events_renterId_createdAt_idx"
|
||||
ON "carplace_funnel_events"("renterId", "createdAt");
|
||||
Reference in New Issue
Block a user