add origin to events

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-06-16 21:24:34 +02:00
parent 1aa94ea0ef
commit 7d35f7e65c
4 changed files with 17 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ CREATE TABLE openpanel.events (
`project_id` String,
`session_id` String,
`path` String,
`origin` String,
`referrer` String,
`referrer_name` String,
`referrer_type` String,
@@ -58,9 +59,9 @@ ORDER BY
ALTER TABLE
events
ADD
COLUMN session_id String
COLUMN origin String
AFTER
project_id;
path;
ALTER TABLE
events DROP COLUMN id;