Fix DB error.
This commit is contained in:
parent
be4cb4b1bb
commit
68ed34472d
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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 log (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)
|
||||||
|
|
Loading…
Reference in a new issue