diff --git a/modules/connectors/internal/store/store.go b/modules/connectors/internal/store/store.go index 6b7c5b7f1..0a92f4bb3 100644 --- a/modules/connectors/internal/store/store.go +++ b/modules/connectors/internal/store/store.go @@ -37,8 +37,10 @@ type Accepted struct { // as a JSON array. Tools jsontext.Value `db:"tools"` // Capabilities is what a connector declared when it last loaded, as a JSON - // object. It is nil until then, and acceptance never changes it. - Capabilities jsontext.Value `db:"capabilities"` + // object. It is nil until then, and acceptance never changes it. It is a + // []byte because database/sql scans NULL into []byte but not into a named + // byte slice such as jsontext.Value. + Capabilities []byte `db:"capabilities"` } // Contracts an accepted package can serve.