wip event list
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
ALTER TABLE
|
||||
events
|
||||
ADD
|
||||
COLUMN id UUID;
|
||||
|
||||
CREATE TABLE openpanel.events (
|
||||
`id` UUID,
|
||||
`id` UUID DEFAULT generateUUIDv4(),
|
||||
`name` String,
|
||||
`profile_id` String,
|
||||
`project_id` String,
|
||||
@@ -18,6 +13,7 @@ CREATE TABLE openpanel.events (
|
||||
`country` String,
|
||||
`city` String,
|
||||
`region` String,
|
||||
`continent` String,
|
||||
`os` String,
|
||||
`os_version` String,
|
||||
`browser` String,
|
||||
@@ -44,4 +40,14 @@ CREATE TABLE test.profiles (
|
||||
`created_at` DateTime
|
||||
) ENGINE = ReplacingMergeTree
|
||||
ORDER BY
|
||||
(id) SETTINGS index_granularity = 8192;
|
||||
(id) SETTINGS index_granularity = 8192;
|
||||
|
||||
ALTER TABLE
|
||||
events
|
||||
ADD
|
||||
COLUMN continent String
|
||||
AFTER
|
||||
region;
|
||||
|
||||
ALTER TABLE
|
||||
events DROP COLUMN id;
|
||||
Reference in New Issue
Block a user