make index creation idempotent #8062
lint.yaml
on: pull_request
License Check
1m 39s
Lint Go
3m 33s
Lint YAML & Markdown
1m 5s
Annotations
2 errors
Lint Go:
internal/datastore/postgres/migrations/index.go#L1
Please run go run mage.go lint:go.
diff --git a/internal/datastore/postgres/migrations/index.go b/internal/datastore/postgres/migrations/index.go
index aaf04c9..0b2be90 100644
--- a/internal/datastore/postgres/migrations/index.go
+++ b/internal/datastore/postgres/migrations/index.go
@@ -4,8 +4,9 @@ import (
"context"
"fmt"
- "github.com/authzed/spicedb/internal/datastore/postgres/common"
"github.com/jackc/pgx/v5"
+
+ "github.com/authzed/spicedb/internal/datastore/postgres/common"
)
const createIndexTemplate = `
|
Lint Go
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
diff
|
344 Bytes |
|