Update clickhouse tables (#11905)
Following a discussion with @Bonapara - changing the base tables
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
CREATE TABLE IF NOT EXISTS workspaceEvent
|
||||
(
|
||||
`event` LowCardinality(String) NOT NULL,
|
||||
`timestamp` DateTime64(3) NOT NULL,
|
||||
`userId` String DEFAULT '',
|
||||
`workspaceId` String NOT NULL,
|
||||
`properties` JSON
|
||||
)
|
||||
ENGINE = MergeTree
|
||||
ORDER BY (workspaceId, event, userId, timestamp);
|
||||
Reference in New Issue
Block a user