Skip to content

Commit

Permalink
Fix Khoj telemetry server. Add server_version column
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjum committed Nov 26, 2023
1 parent ebeae54 commit 9e714d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telemetry/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def v1_telemetry(telemetry_data: List[Dict[str, str]]):

# Create a table if it doesn't exist
cur.execute(
"""CREATE TABLE IF NOT EXISTS usage (id INTEGER PRIMARY KEY, time TIMESTAMP, type TEXT, server_id TEXT, os TEXT, api TEXT, client TEXT)"""
"""CREATE TABLE IF NOT EXISTS usage (id INTEGER PRIMARY KEY, time TIMESTAMP, type TEXT, server_id TEXT, os TEXT, api TEXT, client TEXT, server_version TEXT)"""
)

# Log telemetry data
Expand Down

0 comments on commit 9e714d0

Please sign in to comment.