Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

rename to job_id

Francis Caoc90135822270
diff --git a/db/clickhouse/migrations/02_add_upload_id.sql b/db/clickhouse/migrations/02_add_upload_id.sql
index c14f5622e..44b5906ec 100644
--- a/db/clickhouse/migrations/02_add_upload_id.sql
+++ b/db/clickhouse/migrations/02_add_upload_id.sql
@@ -1,2 +1,2 @@
-ALTER TABLE "website_event" ADD COLUMN "upload_id" UUID AFTER "created_at";
-ALTER TABLE "event_data" ADD COLUMN "upload_id" UUID AFTER "created_at";
\ No newline at end of file
+ALTER TABLE "website_event" ADD COLUMN "job_id" UUID AFTER "created_at";
+ALTER TABLE "event_data" ADD COLUMN "job_id" UUID AFTER "created_at";
\ No newline at end of file
diff --git a/db/clickhouse/schema.sql b/db/clickhouse/schema.sql
index 88d72db28..8ee02af8d 100644
--- a/db/clickhouse/schema.sql
+++ b/db/clickhouse/schema.sql
@@ -28,7 +28,7 @@ CREATE TABLE umami.website_event
event_type UInt32,
event_name String,
created_at DateTime('UTC'),
- upload_id UUID
+ job_id UUID
)
engine = MergeTree
ORDER BY (website_id, session_id, created_at)
@@ -123,7 +123,7 @@ CREATE TABLE umami.event_data
date_value Nullable(DateTime('UTC')),
data_type UInt32,
created_at DateTime('UTC'),
- upload_id UUID
+ job_id UUID
)
engine = MergeTree
ORDER BY (website_id, event_id, event_key, created_at)