persistence/sql/persister_migration.go
Method Persister.migrateOldMigrationTables
has 7 return statements (exceeds 4 allowed). Open
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
}