Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

Add `id` to the Database Schema (#25)

patcher99d9bd0237c78c
diff --git a/src/ingester/db/db.go b/src/ingester/db/db.go
index fa3dc834..e312597f 100644
--- a/src/ingester/db/db.go
+++ b/src/ingester/db/db.go
@@ -115,6 +115,7 @@ func getCreateDataTableSQL(tableName string) string {
return fmt.Sprintf(`
CREATE TABLE IF NOT EXISTS %s (
time TIMESTAMPTZ NOT NULL,
+ id BIGSERIAL,
name VARCHAR(10) NOT NULL,
environment VARCHAR(50) NOT NULL,
endpoint VARCHAR(50) NOT NULL,