fix sqlite open

This commit is contained in:
lone-cloud 2026-02-07 02:13:05 -08:00
parent 7fd57101a3
commit c41d7ecfef

View file

@ -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)
}