mirror of
https://github.com/status-im/status-go.git
synced 2025-01-12 07:35:02 +00:00
9a59d6a459
This commit adds support for centralized metrics. There are two providers as of now, and we haven't quite decided which one to go for, so for the time being both are supported. It also introduces a new endpoint InitializeApplication that replaces OpenAccounts
15 lines
377 B
SQL
15 lines
377 B
SQL
CREATE TABLE centralizedmetrics_metrics (
|
|
id SERIAL PRIMARY KEY,
|
|
event_name VARCHAR(255) NOT NULL,
|
|
event_value BLOB NOT NULL,
|
|
timestamp INTEGER NOT NULL,
|
|
platform VARCHAR NOT NULL,
|
|
app_version VARCHAR NOT NULL
|
|
);
|
|
|
|
CREATE TABLE centralizedmetrics_uuid (
|
|
uuid TEXT PRIMARY KEY,
|
|
enabled BOOL DEFAULT FALSE,
|
|
user_confirmed BOOL DEFAULT FALSE
|
|
);
|