mirror of https://github.com/status-im/go-waku.git
fix: invalid in-memory db URL
This commit is contained in:
parent
0c1abb8114
commit
9c75a3325d
|
@ -32,7 +32,7 @@ func ExtractDBAndMigration(databaseURL string) (*sql.DB, func(*sql.DB) error, er
|
||||||
dbURL = databaseURL
|
dbURL = databaseURL
|
||||||
} else {
|
} else {
|
||||||
// In memoryDB
|
// In memoryDB
|
||||||
dbURL = "sqlite://:memory:"
|
dbURL = "sqlite3://:memory:"
|
||||||
}
|
}
|
||||||
|
|
||||||
dbURLParts := strings.Split(dbURL, "://")
|
dbURLParts := strings.Split(dbURL, "://")
|
||||||
|
|
Loading…
Reference in New Issue