cloudfoundry/stratos

View on GitHub
src/jetstream/datastore/20180824092600_LinkedTokens.go

Summary

Maintainability
A
35 mins
Test Coverage

Function init has 5 return statements (exceeds 4 allowed).
Open

func init() {
    RegisterMigration(20180824092600, "LinkedTokens", func(txn *sql.Tx, conf *goose.DBConf) error {

        addTokenID := "ALTER TABLE tokens ADD token_guid VARCHAR(36) DEFAULT 'default-token'"
        _, err := txn.Exec(addTokenID)
Severity: Major
Found in src/jetstream/datastore/20180824092600_LinkedTokens.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status