Skip to content

Commit a5fd611

Browse files
authored
OrgId should be Nullable (#131)
1 parent 76f2c8a commit a5fd611

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.docker/scripts/clickhouse/001-create-tables.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CREATE TABLE IF NOT EXISTS default.events
22
(
33
-- Shared
44
`id` UUID,
5-
`orgId` String,
5+
`orgId` Nullable(String),
66
`userId` String,
77
`timestamp` Int32,
88
`type` String,
@@ -36,7 +36,7 @@ SETTINGS index_granularity = 8192;
3636
CREATE TABLE IF NOT EXISTS default.messages
3737
(
3838
`id` UUID,
39-
`orgId` String,
39+
`orgId` Nullable(String),
4040
`userId` String,
4141
`taskId` String,
4242
`ts` Int32,

0 commit comments

Comments
 (0)