rename to job_id

This commit is contained in:
Francis Cao 2023-06-26 10:32:23 -07:00
parent a5582416b3
commit c901358222
2 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1,2 @@
ALTER TABLE "website_event" ADD COLUMN "upload_id" UUID AFTER "created_at"; ALTER TABLE "website_event" ADD COLUMN "job_id" UUID AFTER "created_at";
ALTER TABLE "event_data" ADD COLUMN "upload_id" UUID AFTER "created_at"; ALTER TABLE "event_data" ADD COLUMN "job_id" UUID AFTER "created_at";

View File

@ -28,7 +28,7 @@ CREATE TABLE umami.website_event
event_type UInt32, event_type UInt32,
event_name String, event_name String,
created_at DateTime('UTC'), created_at DateTime('UTC'),
upload_id UUID job_id UUID
) )
engine = MergeTree engine = MergeTree
ORDER BY (website_id, session_id, created_at) ORDER BY (website_id, session_id, created_at)
@ -123,7 +123,7 @@ CREATE TABLE umami.event_data
date_value Nullable(DateTime('UTC')), date_value Nullable(DateTime('UTC')),
data_type UInt32, data_type UInt32,
created_at DateTime('UTC'), created_at DateTime('UTC'),
upload_id UUID job_id UUID
) )
engine = MergeTree engine = MergeTree
ORDER BY (website_id, event_id, event_key, created_at) ORDER BY (website_id, event_id, event_key, created_at)