🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: add created at to posthog integration table
Marc Klingen2d5b3e207629
diff --git a/packages/shared/prisma/generated/types.ts b/packages/shared/prisma/generated/types.tsindex 1d4c242db5..713a384a02 100644--- a/packages/shared/prisma/generated/types.ts+++ b/packages/shared/prisma/generated/types.ts@@ -298,6 +298,7 @@ export type PosthogIntegration = {posthog_host_name: string;last_sync_at: Timestamp | null;enabled: boolean;+ created_at: Generated<Timestamp>;};export type Pricing = {id: string;diff --git a/packages/shared/prisma/migrations/20240420134232_posthog_integration_created_at/migration.sql b/packages/shared/prisma/migrations/20240420134232_posthog_integration_created_at/migration.sqlnew file mode 100644index 0000000000..41be314123--- /dev/null+++ b/packages/shared/prisma/migrations/20240420134232_posthog_integration_created_at/migration.sql@@ -0,0 +1,2 @@+-- AlterTable+ALTER TABLE "posthog_integrations" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;diff --git a/packages/shared/prisma/schema.prisma b/packages/shared/prisma/schema.prismaindex efe7c9ed3e..43168e299f 100644--- a/packages/shared/prisma/schema.prisma+++ b/packages/shared/prisma/schema.prisma@@ -708,6 +708,7 @@ model PosthogIntegration {posthogHostName String @map("posthog_host_name")lastSyncAt DateTime? @map("last_sync_at")enabled Boolean+ createdAt DateTime @default(now()) @map("created_at")@@index([projectId])@@map("posthog_integrations")