mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 02:06:19 +01:00
update CH migration.
This commit is contained in:
parent
7c467db27e
commit
be433cd0fd
@ -1,4 +1,9 @@
|
||||
-- edit event_data values
|
||||
ALTER TABLE "event_data" RENAME COLUMN "event_date_value" TO "date_value";
|
||||
ALTER TABLE "event_data" RENAME COLUMN "event_numeric_value" TO "numeric_value";
|
||||
ALTER TABLE "event_data" RENAME COLUMN "event_numeric_value" TO "number_value";
|
||||
ALTER TABLE "event_data" RENAME COLUMN "event_string_value" TO "string_value";
|
||||
ALTER TABLE "event_data" RENAME COLUMN "event_data_type" TO "data_type";
|
||||
ALTER TABLE "event_data" RENAME COLUMN "event_data_type" TO "data_type";
|
||||
|
||||
-- add job_id
|
||||
ALTER TABLE "website_event" ADD COLUMN "job_id" UUID AFTER "created_at";
|
||||
ALTER TABLE "event_data" ADD COLUMN "job_id" UUID AFTER "created_at";
|
@ -1,2 +0,0 @@
|
||||
ALTER TABLE "website_event" ADD COLUMN "job_id" UUID AFTER "created_at";
|
||||
ALTER TABLE "event_data" ADD COLUMN "job_id" UUID AFTER "created_at";
|
Loading…
Reference in New Issue
Block a user