From a5fd611143fcca1740994806a7fe582bada0dac6 Mon Sep 17 00:00:00 2001 From: John Richmond <5629+jr@users.noreply.github.com> Date: Tue, 24 Jun 2025 10:43:02 -0700 Subject: [PATCH] OrgId should be Nullable (#131) --- .docker/scripts/clickhouse/001-create-tables.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/scripts/clickhouse/001-create-tables.sql b/.docker/scripts/clickhouse/001-create-tables.sql index 65b204cde7..e332e93b26 100644 --- a/.docker/scripts/clickhouse/001-create-tables.sql +++ b/.docker/scripts/clickhouse/001-create-tables.sql @@ -2,7 +2,7 @@ CREATE TABLE IF NOT EXISTS default.events ( -- Shared `id` UUID, - `orgId` String, + `orgId` Nullable(String), `userId` String, `timestamp` Int32, `type` String, @@ -36,7 +36,7 @@ SETTINGS index_granularity = 8192; CREATE TABLE IF NOT EXISTS default.messages ( `id` UUID, - `orgId` String, + `orgId` Nullable(String), `userId` String, `taskId` String, `ts` Int32,