ory-am/hydra

View on GitHub
persistence/sql/persister_migration.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Persister.migrateOldMigrationTables has 7 return statements (exceeds 4 allowed).
Open

func (p *Persister) migrateOldMigrationTables() error {
    if err := p.conn.RawQuery(fmt.Sprintf("SELECT * FROM %s", clientMigrationTableName)).Exec(); err != nil {
        // assume there are no old migration tables => done
        return nil
    }
Severity: Major
Found in persistence/sql/persister_migration.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status