mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into feat/um-366-event-data-migration
This commit is contained in:
commit
3aa7565bf4
17 changed files with 639 additions and 699 deletions
|
|
@ -11,10 +11,8 @@ ALTER TABLE "event_data" ADD COLUMN "job_id" UUID AFTER "created_at";
|
|||
-- update event_data string
|
||||
alter table umami.event_data
|
||||
update string_value = number_value
|
||||
where number_value is not null
|
||||
and string_value is null;
|
||||
where data_type = 2
|
||||
|
||||
alter table umami.event_data
|
||||
update string_value = replaceOne(concat(CAST(toDateTime(date_value, 'UTC'), 'String'),'Z'), ' ', 'T')
|
||||
where date_value is not null
|
||||
and string_value is null;
|
||||
where data_type = 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue