2023-07-06 06:09:16 +02:00
|
|
|
-- edit event_data values
|
2023-06-01 06:46:49 +02:00
|
|
|
ALTER TABLE "event_data" RENAME COLUMN "event_date_value" TO "date_value";
|
2023-07-06 06:09:16 +02:00
|
|
|
ALTER TABLE "event_data" RENAME COLUMN "event_numeric_value" TO "number_value";
|
2023-06-01 06:46:49 +02:00
|
|
|
ALTER TABLE "event_data" RENAME COLUMN "event_string_value" TO "string_value";
|
2023-07-06 06:09:16 +02:00
|
|
|
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";
|