Disable create index as timescaledb doesn't seem to like it.
All checks were successful
Build Docker image / build (push) Successful in 57s
Build Golang packages / release (push) Has been skipped

This commit is contained in:
Pieter Hollander 2024-02-22 13:20:17 +01:00
parent 68ed34472d
commit a9b42c481e
Signed by: pieter
SSH key fingerprint: SHA256:HbX+9cBXsop9SuvL+mELd29sK+7DehFfdVweFVDtMSg

View file

@ -421,7 +421,7 @@ func connectToPostgreSQL(pgConnStr string) error {
returning_l2 INT, returning_l2 INT,
returning_l3 INT returning_l3 INT
); );
CREATE UNIQUE INDEX IF NOT EXISTS timestamp_idx ON p1 (timestamp); -- CREATE UNIQUE INDEX IF NOT EXISTS timestamp_idx ON p1 (timestamp);
`) `)
if err != nil { if err != nil {
log.Fatal("Error creating table:", err) log.Fatal("Error creating table:", err)