waku/persistence/sqlite/nwaku.go
Function handleNWakuPreMigration
has 9 return statements (exceeds 4 allowed). Open
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