fix: invalid in-memory db URL

This commit is contained in:
Richard Ramos 2023-02-16 23:03:22 -04:00 committed by RichΛrd
parent 0c1abb8114
commit 9c75a3325d
1 changed files with 1 additions and 1 deletions

View File

@ -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, "://")