mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 08:43:10 -07:00
fix sqlite open
This commit is contained in:
parent
7fd57101a3
commit
c41d7ecfef
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ func NewStore(dbPath string) (*Store, error) {
|
|||
return nil, fmt.Errorf("failed to create database directory: %w", err)
|
||||
}
|
||||
|
||||
db, err := sql.Open("sqlite3", dbPath+"?_busy_timeout=5000&cache=shared")
|
||||
db, err := sql.Open("sqlite", dbPath+"?_busy_timeout=5000&cache=shared")
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to open database: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue