waku-org/go-waku

View on GitHub
waku/persistence/sqlite/nwaku.go

Summary

Maintainability
A
55 mins
Test Coverage
F
25%

Function handleNWakuPreMigration has 9 return statements (exceeds 4 allowed).
Open

func handleNWakuPreMigration(db *sql.DB) (bool, error) {
    // Check if there's an user version in the DB, and if migration table does not exist.
    // Rename existing table, and move data afterwards

    var nwakuDBVersion int
Severity: Major
Found in waku/persistence/sqlite/nwaku.go - About 55 mins to fix

    There are no issues that match your filters.

    Category
    Status